Skip to content

Commit

Permalink
Users should get 5 password attempts
Browse files Browse the repository at this point in the history
  • Loading branch information
ErisDS committed Mar 3, 2015
1 parent 8432215 commit b7a80eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/server/models/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ User = ghostBookshelf.Model.extend({
level = 1;
} else {
level = parseInt(status.match(regexp)[1], 10) + 1;
if (level > 3) {
if (level > 4) {
user.set('status', 'locked');
} else {
user.set('status', 'warn-' + level);
Expand Down

0 comments on commit b7a80eb

Please sign in to comment.