mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-01 01:17:45 +02:00
fixed resetLockout
This commit is contained in:
@@ -46,7 +46,7 @@ module.exports = function(User) {
|
||||
|
||||
User.auth.resetLockout = function(uid, callback) {
|
||||
async.parallel([
|
||||
async.apply(db.delete, 'loginAttemps:' + uid),
|
||||
async.apply(db.delete, 'loginAttempts:' + uid),
|
||||
async.apply(db.delete, 'lockout:' + uid)
|
||||
], callback);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user