mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 18:16:17 +01:00
closes #6592
This commit is contained in:
@@ -115,6 +115,7 @@ SocketUser.reset.commit = function (socket, data, callback) {
|
||||
async.parallel({
|
||||
uid: async.apply(db.getObjectField, 'reset:uid', data.code),
|
||||
reset: async.apply(user.reset.commit, data.code, data.password),
|
||||
hook: async.apply(plugins.fireHook, 'action:password.reset', { uid: socket.uid }),
|
||||
}, next);
|
||||
},
|
||||
function (results, next) {
|
||||
|
||||
Reference in New Issue
Block a user