When I configure a new member in the Umbraco CMS backend the password is stored encrypted in the database.
I'm using the MemberService to create new Members in Umbraco.
var memberService = Umbraco.Core.ApplicationContext.Current.Services.MemberService;
var member = memberService.CreateWithIdentity(email, email, password, "Member");
If I do this the password is stored as pain text in the database. If I try to login with the newly created user it will not work since it tries to decrypt the password.
Membership.ValidateUser(email, model.password)
Why doesn't the function "CreateWithIdentity" take the setting "PasswordFormat" into account?
MemberService.CreateWithIdentity not working with hashed passwords
Within the web.config the password format is configured as Hashed
When I configure a new member in the Umbraco CMS backend the password is stored encrypted in the database.
I'm using the MemberService to create new Members in Umbraco.
If I do this the password is stored as pain text in the database. If I try to login with the newly created user it will not work since it tries to decrypt the password.
Why doesn't the function "CreateWithIdentity" take the setting "PasswordFormat" into account?
is working on a reply...