diff --git a/src/upgrades/1.10.2/local_login_privileges.js b/src/upgrades/1.10.2/local_login_privileges.js index 005d74afac..6b1e5cc090 100644 --- a/src/upgrades/1.10.2/local_login_privileges.js +++ b/src/upgrades/1.10.2/local_login_privileges.js @@ -6,7 +6,7 @@ module.exports = { method: function (callback) { var meta = require('../../meta'); var privileges = require('../../privileges'); - var allowLocalLogin = parseInt(meta.config.allowLocalLogin, 10) === 1; + var allowLocalLogin = parseInt(meta.config.allowLocalLogin, 10) !== 0; if (allowLocalLogin) { privileges.global.give(['local:login'], 'registered-users', callback);