var m = Membership.GetUser(username);
m.ChangePassword(m.ResetPassword(), pass);
and..
Member member = Member.GetMemberFromEmail(username);
member.Password = pass;
member.Save();
error is
Error loading Razor Script Calender/Members/resetPass.cshtml
Provider can not retrieve hashed password
(d:\web\localuser\genzai.dk\public_html\web.config line 132)
The first Razor snippet you pasted should be enough - is there a reason you're trying to set it again via the Member API? Or is that just two different ways you tried? What line does the error happen on?
Member new password in razor
I'm trying to get members to change passwords.
I have searched a lot and found this.
http://our.umbraco.org/wiki/how-tos/membership-providers
my web.config is.
and..
error is
and it does not work for me.
should I try..
what are the consequences
/Johan
Hi Johan,
The first Razor snippet you pasted should be enough - is there a reason you're trying to set it again via the Member API? Or is that just two different ways you tried? What line does the error happen on?
-Tom
they are different.
the line is 132 in web.config.
and I must have this enablePasswordRetrieval = false or I canĀ“t login.
is working on a reply...