Ambert
08/21/2023, 7:58 AMcsharp
var result = _passwordChanger.ChangePasswordWithIdentityAsync(changePasswordModel, _memberManager).Result;
This will change in V13 and will require a IUser to be added as a third parameter.
Or is this method not mend to be for usage to reset frontend members?
(Edit: I tried the var result = _memberManager.ResetPasswordAsync(member, model.ResetKey, model.ConfirmPassword).Result;
route however this has other implications for my usage)huwred
08/21/2023, 8:18 AMhuwred
08/21/2023, 8:19 AMAmbert
08/21/2023, 8:46 AMAmbert
08/21/2023, 8:46 AMAmbert
08/21/2023, 8:47 AMAmbert
08/21/2023, 8:48 AMhuwred
08/21/2023, 9:29 AMAmbert
08/21/2023, 10:30 AMhuwred
08/21/2023, 10:32 AMBjarne Fyrstenborg
08/22/2023, 1:36 PM_memberManager.ChangePasswordWithResetAsync()
in a project on Umbraco v10 some time ago, but wanted to add a basic snippet for easy use in core and align it with how user invite works.
So this is a draft PR: https://github.com/umbraco/Umbraco-CMS/pull/12991
1. Request a password reset (forgotten password)
2. Actual password reset (change/update password)