diff options
Diffstat (limited to 'models/users.js')
-rw-r--r-- | models/users.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/users.js b/models/users.js index 46e56ad6..870e8fe9 100644 --- a/models/users.js +++ b/models/users.js @@ -260,7 +260,7 @@ Users.attachSchema( Users.allow({ update(userId) { const user = Users.findOne(userId); - return user && Meteor.user().isAdmin; + return user; // && Meteor.user().isAdmin; // GitHub issue #2590 }, remove(userId, doc) { const adminsNumber = Users.find({ isAdmin: true }).count(); |