Membership Problems after Upgrade from 4.0.2 > 4.11.3
I have inherited a site which I've had to upgrade as the title suggests. I've resolved most issues, now encrypted all passwords but I continuing to have issues with membership which I seem unable to resolve.
I am able to programatically create members ok after tweaking the existing code until it is rewritten and so the following works fine and inserts the relevant data into the fields in the member profile:
var m = Membership.CreateUser(txtEmail.Text, txtPassword.Text, txtEmail.Text);
var profile = ProfileBase.Create(m.UserName);
profile["firstName"] = txtFirstName.Text;
profile["lastName"] = txtLastName.Text;
profile["emailPreferences"] = ddlEmailPreferences.SelectedItem.Value;
profile["mobile"] = txtMobile.Text;
profile.Save();
Roles.AddUserToRole(m.UserName, "careerplayer Employer");
However trying to login the user with the following after registration doesn't work:
I'm sure it's related but also changing the password via the member profile in Umbraco does not save the change in the database - no password is changed. Changing member profile properties save fine.
Any ideas or pointers would be much appreciated as this is the only thing holding this project up right now and may be the case that I am missing something obvious.
Further to this I can report that no member details can be changed via the Members are of Umbraco so something is fundamentally wrong with the membership system following the upgrade. I'm sure it's a simple fix once it's tracked down.
Membership Problems after Upgrade from 4.0.2 > 4.11.3
I have inherited a site which I've had to upgrade as the title suggests. I've resolved most issues, now encrypted all passwords but I continuing to have issues with membership which I seem unable to resolve.
Web.config relevant parts look as follows:
However trying to login the user with the following after registration doesn't work:
I'm sure it's related but also changing the password via the member profile in Umbraco does not save the change in the database - no password is changed. Changing member profile properties save fine.
Any ideas or pointers would be much appreciated as this is the only thing holding this project up right now and may be the case that I am missing something obvious.
Cheers, Simon
Further to this I can report that no member details can be changed via the Members are of Umbraco so something is fundamentally wrong with the membership system following the upgrade. I'm sure it's a simple fix once it's tracked down.
is working on a reply...