mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-03 05:09:48 +01:00
Merge remote-tracking branch 'origin/0.5.1' into hashtalk
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