Skip to content

Commit 841b552

Browse files
committed
Fixing typo in i18n key
1 parent 17a8d8c commit 841b552

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/server/models/user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ User = ghostBookshelf.Model.extend({
539539
if (user.get('status') === 'invited' || user.get('status') === 'invited-pending' ||
540540
user.get('status') === 'inactive'
541541
) {
542-
return Promise.reject(new errors.NoPermissionError(i18n.t('errors.models.user.userisInactive')));
542+
return Promise.reject(new errors.NoPermissionError(i18n.t('errors.models.user.userIsInactive')));
543543
}
544544
if (user.get('status') !== 'locked') {
545545
return bcryptCompare(object.password, user.get('password')).then(function then(matched) {

0 commit comments

Comments
 (0)