diff options
author | guillaume <guillaume.cassou@orange.fr> | 2018-11-06 17:48:12 +0100 |
---|---|---|
committer | guillaume <guillaume.cassou@orange.fr> | 2018-11-06 17:48:12 +0100 |
commit | 3646a9c259634bbed03b71ead53338c3f290cf0b (patch) | |
tree | 01fac0417feba0158563e818e83d71eebe92a538 /server/publications | |
parent | 8c497efb46d2193674fee2e0c9da8053c533e79e (diff) | |
download | wekan-3646a9c259634bbed03b71ead53338c3f290cf0b.tar.gz wekan-3646a9c259634bbed03b71ead53338c3f290cf0b.tar.bz2 wekan-3646a9c259634bbed03b71ead53338c3f290cf0b.zip |
Logout with timer
Diffstat (limited to 'server/publications')
-rw-r--r-- | server/publications/users.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/publications/users.js b/server/publications/users.js index f0c94153..136e1e08 100644 --- a/server/publications/users.js +++ b/server/publications/users.js @@ -22,6 +22,7 @@ Meteor.publish('user-authenticationMethod', function(match) { check(match, String); return Users.find({$or: [{_id: match}, {email: match}, {username: match}]}, { fields: { + '_id': 1, 'authenticationMethod': 1, }, }); |