Node.js based forum software built for the modern web
feat: closes #8229, add targetUid to action:password.change
Barış Soner Uşaklı00e299e93e7f
diff --git a/src/user/profile.js b/src/user/profile.jsindex 0e135f5877..2b6a59e025 100644--- a/src/user/profile.js+++ b/src/user/profile.js@@ -301,6 +301,6 @@ module.exports = function (User) {User.auth.revokeAllSessions(data.uid),]);- plugins.fireHook('action:password.change', { uid: uid });+ plugins.fireHook('action:password.change', { uid: uid, targetUid: data.uid });};};