Reset password feature does not work on child pages

Issue

When a user is trying to use the reset password feature of a child page the error message "The password reset link has expired and is no longer valid" appears. 

Solution

This issue occurs only in EVOQ versions preview to 9.2 and it is solved by upgrading the version, however, as a workaround, you can follow these steps:

Option 1:  Do a redirect through IIS using the Rewrite module and on the action set the queryString to true. For example:

<rewrite>
 <rules>
  <rule name="Redirect Reset" stopProcessing="true">
      <match url="(.*)" />
      <conditions>
        <add input="{PATH_INFO}" pattern="/your_child_website/exact_resetpasswordlink" />
      </conditions>
      <action type="Redirect" url="https://www.yourwebsite.com/resetpassword" appendQueryString="true" redirectType="Permanent"/>                   
  </rule>
 </rules>
</rewrite>

 

Option 2 (not recommended): Add the HTML code with the instructions in the control file itself which can be found under /admin/Security/PasswordReset.ascx. The problem with this approach is that this file will be overwritten during site upgrades and in general, it's never recommended to hardcode this type of things; having said that, this is the most simple way of resolving this issue. 

 

Credits: Alexander Lunin

 

Comments

0 comments

Please sign in to leave a comment.