Just wonder if anyone can help.
I’m trying to update the members password with the following code:
var memberService = Services.MemberService;
var member = memberService.GetById(model.Id);
memberService.SavePassword(member, model.Password);
However, when I run the code I get the following error:
System.NotSupportedException: This provider does not support manually changing the password at Umbraco.Core.Security.MembershipProviderBase.ChangePassword(String username, String oldPassword, String newPassword) at Umbraco.Core.Services.MemberService.SavePassword(IMember member, String password)
I have the same code on other sites and it works, what am I doing wrong?
Thanks
Darren
This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/85722-problem-updating-members-password-using-umbraco-version-761