feat: closes #8229, add targetUid to action:password.change

v1.18.x
Barış Soner Uşaklı 5 years ago
parent 944a6f5850
commit 00e299e93e

@ -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 });
}; };
}; };

Loading…
Cancel
Save