I am using member section in umbraco. i have used Member.MakeNew method to register member in my website.
I have one section where user can change his password. I have used following code to change password.
umbraco.cms.businesslogic.member.Member m = umbraco.cms.businesslogic.member.Member.GetCurrentMember();
m.ChangePassword(tbPassword.Text);
When I register user then password goes in encrypted format in Member table but when I use ChangePassword method then it goes in plain text formate in Member table and because of that I am not able to re-login in my website by using that member credential.
Not sure whether this is an issue specific to 4.8.0 or not. But as you have noticed, when you use ChangePassword the new password won't be encrypted. ChangePassword mostlikely didn't get updated since older versions of Umbraco.
You are able to set the new password by doing the following:
m.Password = "newpassword";
m.Save();
You prolly solved it already, but for other people who goes by like me :)
Umbraco change password issue
Hello friends.
I am using member section in umbraco. i have used Member.MakeNew method to register member in my website.
I have one section where user can change his password. I have used following code to change password.
umbraco.cms.businesslogic.member.Member m = umbraco.cms.businesslogic.member.Member.GetCurrentMember();
m.ChangePassword(tbPassword.Text);
When I register user then password goes in encrypted format in Member table but when I use ChangePassword method then it goes in plain text formate in Member table and because of that I am not able to re-login in my website by using that member credential.
Is this a issue of umbraco version 4.8.0?
Thanks
Imrankhan
Not sure whether this is an issue specific to 4.8.0 or not. But as you have noticed, when you use ChangePassword the new password won't be encrypted. ChangePassword mostlikely didn't get updated since older versions of Umbraco.
You are able to set the new password by doing the following:
You prolly solved it already, but for other people who goes by like me :)
is working on a reply...