diff --git a/src/user/profile.js b/src/user/profile.js index 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 }); }; };