mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
feat: closes #8229, add targetUid to action:password.change
This commit is contained in:
@@ -301,6 +301,6 @@ module.exports = function (User) {
|
|||||||
User.auth.revokeAllSessions(data.uid),
|
User.auth.revokeAllSessions(data.uid),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
plugins.fireHook('action:password.change', { uid: uid });
|
plugins.fireHook('action:password.change', { uid: uid, targetUid: data.uid });
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user