We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17a8d8c commit 841b552Copy full SHA for 841b552
core/server/models/user.js
@@ -539,7 +539,7 @@ User = ghostBookshelf.Model.extend({
539
if (user.get('status') === 'invited' || user.get('status') === 'invited-pending' ||
540
user.get('status') === 'inactive'
541
) {
542
- return Promise.reject(new errors.NoPermissionError(i18n.t('errors.models.user.userisInactive')));
+ return Promise.reject(new errors.NoPermissionError(i18n.t('errors.models.user.userIsInactive')));
543
}
544
if (user.get('status') !== 'locked') {
545
return bcryptCompare(object.password, user.get('password')).then(function then(matched) {
0 commit comments