revert changes for patch authentication

This commit is contained in:
guillaume 2018-11-22 18:00:21 +01:00
parent a27c16e434
commit f23448be33
11 changed files with 133 additions and 52 deletions

View file

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