I actuelly started with ApplicationContext.Current.Services.MemberService.SavePassword(member, "newPassword"); But that throwed an exception, then i went to to use Members.ChangePassword() method.
After i changed allowManuallyChangingPassword to true in the web.config ApplicationContext.Current.Services.MemberService.SavePassword(member, "newPassword"); worked.
How to change member password from controller without the old password
Hi all.
Using Umbraco 7.15.3
It will simply not letting me change a members password from a controller. The code execution without any exceptions, but no changes are made.
I have tried this
And this
And this
Any ideas?
Okay i found out.
I actuelly started with
ApplicationContext.Current.Services.MemberService.SavePassword(member, "newPassword");
But that throwed an exception, then i went to to useMembers.ChangePassword()
method.After i changed
allowManuallyChangingPassword
to true in the web.configApplicationContext.Current.Services.MemberService.SavePassword(member, "newPassword");
worked.is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.