Merge remote-tracking branch 'origin/0.5.1' into hashtalk

v1.18.x
barisusakli 10 years ago
commit e10fbfa0d2

@ -46,7 +46,7 @@ module.exports = function(User) {
User.auth.resetLockout = function(uid, callback) { User.auth.resetLockout = function(uid, callback) {
async.parallel([ async.parallel([
async.apply(db.delete, 'loginAttemps:' + uid), async.apply(db.delete, 'loginAttempts:' + uid),
async.apply(db.delete, 'lockout:' + uid) async.apply(db.delete, 'lockout:' + uid)
], callback); ], callback);
} }

Loading…
Cancel
Save