Support Article
Forgot password feature on the Login page does not work
SA-67440
Summary
Forgot password feature on the Login page does not work.
Error Messages
OTP expired
Steps to Reproduce
- Click the Forgot password button from the Login page.
- Provide the email ID.
- Enter the OTP received through the email and enter the new password twice .
- Click Submit.
Root Cause
A defect in Pegasystems’ code or rules
Resolution
Perform the following local-change:
Perform the steps specified in the article to customize the Login screen: https://community.pega.com/knowledgebase/articles/customizing-pega-7-login-screen
Comment the following code related to 'forgot password' in 'Web-Login' HTML to remove the link from the Login Screen.
<!-- <pega:when java='<%= !isHybridClient && !isPegaElectronContainer %>'>
<div id="submit_row" style="padding-top:20px;color:#2C97DE;">
<a id="spnLoginFrgtPwd" style=" cursor:pointer;" onClick="clickForgotButton();">Forgot password?</a>
</div>
<div style="visibility: hidden;position:absolute;">
<button id='sub_forgotpwd' name="pyActivity=Code-Security.pzShowForgotPassword" type="submit" onClick="removeErrorMessage();" >
<span><pega:lookup property="pxRequestor.pyButtonLabel" value="Forgot password" /></span>
</button>
</div>
</pega:when> -->
Published November 29, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.