From 00e299e93e7fa532ff3781a65cb24b82628f2f37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Wed, 1 Apr 2020 00:11:55 -0400 Subject: [PATCH] feat: closes #8229, add targetUid to action:password.change --- src/user/profile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }); }; };