- Revert Improve authentication to [fix Login failure](https://github.com/wekan/wekan/issues/2004).

Thanks to xet7 !

Closes #2004
This commit is contained in:
Lauri Ojansivu 2018-11-17 16:50:42 +02:00
parent 7a75d82114
commit aa691b0af1
13 changed files with 89 additions and 137 deletions

View file

@ -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,
},
});