summaryrefslogtreecommitdiffstats
path: root/server/publications
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-11-17 16:50:42 +0200
committerLauri Ojansivu <x@xet7.org>2018-11-17 16:50:42 +0200
commitaa691b0af105c8dbc5443b1e0823a701e53c3871 (patch)
tree7f76c9e79c6da428d85160ea9108d586a0e560f8 /server/publications
parent7a75d821147c7d9e2ad48b212348c4bf2d4db063 (diff)
downloadwekan-aa691b0af105c8dbc5443b1e0823a701e53c3871.tar.gz
wekan-aa691b0af105c8dbc5443b1e0823a701e53c3871.tar.bz2
wekan-aa691b0af105c8dbc5443b1e0823a701e53c3871.zip
- Revert Improve authentication to [fix Login failure](https://github.com/wekan/wekan/issues/2004).
Thanks to xet7 ! Closes #2004
Diffstat (limited to 'server/publications')
-rw-r--r--server/publications/users.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/server/publications/users.js b/server/publications/users.js
index 136e1e08..f0c94153 100644
--- a/server/publications/users.js
+++ b/server/publications/users.js
@@ -22,7 +22,6 @@ Meteor.publish('user-authenticationMethod', function(match) {
check(match, String);
return Users.find({$or: [{_id: match}, {email: match}, {username: match}]}, {
fields: {
- '_id': 1,
'authenticationMethod': 1,
},
});