mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-08-01 19:24:00 +08:00
#18605: Calling missing ChangePassword event handler in LostPassword page
Work Item: 18605 --HG-- branch : 1.x
This commit is contained in:
parent
8f3bb8eeca
commit
01ec06695d
@ -283,6 +283,11 @@ namespace Orchard.Users.Controllers {
|
||||
}
|
||||
|
||||
_membershipService.SetPassword(user, newPassword);
|
||||
|
||||
foreach (var userEventHandler in _userEventHandlers) {
|
||||
userEventHandler.ChangedPassword(user);
|
||||
}
|
||||
|
||||
return RedirectToAction("ChangePasswordSuccess");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user