mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-15 00:03:11 +02:00
closes #5524
This commit is contained in:
@@ -272,6 +272,7 @@ module.exports = function (User) {
|
||||
async.parallel([
|
||||
async.apply(User.setUserField, data.uid, 'password', hashedPassword),
|
||||
async.apply(User.reset.updateExpiry, data.uid),
|
||||
async.apply(User.auth.revokeAllSessions, data.uid),
|
||||
], function (err) {
|
||||
next(err);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user