I am not able to Reset Password using the below given link
Use this password reset token to reset your password. The token is: QZBtlTXv_gAratkAnlEMdQ2.
Visit http://starter.sitecloud.cytanium.com/Account/PasswordReset?resetToken=QZBtlTXv_gAratkAnlEMdQ2 to reset your password.
Thanks
With Regards
Abhishek Rajiv Luv
"Helpful then please Mark as Answer"
http://www.codeabstract.com/
http://pluralsight.com/training/users/abhishekluv
There is a problem with the password reset code. There are some things that are mixed up.
I tried finding my thread for you (where I put it back on top of the pile in disgust on the amount of time I wasted), but it was labeled as necroposting and quickly removed.
Wasting everyone's time is apparently preferable over dirty laundry all over the place.
These tokens are saved in the database StarterSite. You can see the other tables with the UserProfile.
In there even the Register token is present which will confirm the user account! So the main thing is that these both tokens match somehow. When they match the account is registered. The password is reset only when there is a match! So look maybe there is
a error in both.
Please "Marks As Answer" if any answer helped you out!
~~! FIREWALL !~~
ill look into it and you too try looking into it :)
Thanks
With Regards
Abhishek Rajiv Luv
"Helpful then please Mark as Answer"
http://www.codeabstract.com/
http://pluralsight.com/training/users/abhishekluv
Abhishek Luv
Participant
1746 Points
468 Posts
StarterSite Template Password Reset Issue
Jan 21, 2013 08:49 AM|LINK
Hi Dear,
I am not able to Reset Password using the below given link
With Regards
Abhishek Rajiv Luv
"Helpful then please Mark as Answer"
http://www.codeabstract.com/
http://pluralsight.com/training/users/abhishekluv
jose.gouveia
Member
217 Points
69 Posts
Re: StarterSite Template Password Reset Issue
Jan 21, 2013 10:48 AM|LINK
Hello Abhishek,
To reset a password all your have to do is to create a token and then use this token to reset the password:
var resetToken = WebSecurity.GeneratePasswordResetToken(userId);
WebSecurity.ResetPassword(resetToken, newPassword);
HTH,
Jose.
wavemaster
Participant
1293 Points
1129 Posts
Re: StarterSite Template Password Reset Issue
Jan 21, 2013 01:12 PM|LINK
There is a problem with the password reset code. There are some things that are mixed up.
I tried finding my thread for you (where I put it back on top of the pile in disgust on the amount of time I wasted), but it was labeled as necroposting and quickly removed.
Wasting everyone's time is apparently preferable over dirty laundry all over the place.
wavemaster
Participant
1293 Points
1129 Posts
Re: StarterSite Template Password Reset Issue
Jan 21, 2013 01:18 PM|LINK
passwordResetToken vs resetToken is what it is.
It needs to be the latter, but there are two occurences of the former.
Afzaal.Ahmad...
Contributor
2661 Points
1040 Posts
Re: StarterSite Template Password Reset Issue
Jan 21, 2013 03:28 PM|LINK
These tokens are saved in the database StarterSite. You can see the other tables with the UserProfile.
In there even the Register token is present which will confirm the user account! So the main thing is that these both tokens match somehow. When they match the account is registered. The password is reset only when there is a match! So look maybe there is a error in both.
~~! FIREWALL !~~
Abhishek Luv
Participant
1746 Points
468 Posts
Re: StarterSite Template Password Reset Issue
Jan 22, 2013 04:40 AM|LINK
Thanks for your replies.
ill look into it and you too try looking into it :)
With Regards
Abhishek Rajiv Luv
"Helpful then please Mark as Answer"
http://www.codeabstract.com/
http://pluralsight.com/training/users/abhishekluv