diff options
Diffstat (limited to 'server/authentication.js')
-rw-r--r-- | server/authentication.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/server/authentication.js b/server/authentication.js index 23ed8f56..3dd1f478 100644 --- a/server/authentication.js +++ b/server/authentication.js @@ -1,4 +1,9 @@ Meteor.startup(() => { + + Accounts.validateLoginAttempt(function (options) { + return !options.user.loginDisabled; + }); + Authentication = {}; Authentication.checkUserId = function (userId) { |