Search code examples
c#asp.netweb-configdotnetnukedotnetnuke-7

DNN - RESET PASSWORD EMAIL TOKEN ERROR


I just recently installed DNN 7.2.2 and created my own website, but unfortunately the reset password token is not working. When I try the password reset link, after entering my username, I get this message: "Error as occur when defining the password, password has not been changed." Is this an issue with my site, or the DNN platform?

Environment Details:

OS: Windows server 2008 R2.

DNN versio: 7.2.2 (303).

Sql version: SQL server 2008 r2.

Event viewer shows : "Password Sent Failure".

Email template token:

"http://[Portal:URL]/default.aspx?ctl=PasswordReset&resetToken=[Membership:PasswordResetToken]"

WebConfig (authentication) :

I have already read this two tickets (they didn't resolve my problem) :

"https://dnntracker.atlassian.net/browse/DNN-4241"

"https://dnntracker.atlassian.net/browse/DNN-4787"


Solution

  • Closed, the problem was PasswordResetTokenExpiration has set to 0.

    I change it to another value and it's fine now.

    How to change it: Host Settings -> Advanced Settings -> Membership Management