KB Article #178162

Add a "Go back" button on the password change error page in ST Web Client

Summary

Currently when a user's password is expired, during a login the user will be asked to change its password. In case of incorrect details during password change like wrong old password, mismatch of the new password and etc., the user will be redirected to page indicating an issue with password change. However, when using the ST Web Client HTML template, and the user is redirected to the error page there is no "Go back" link or button in order to go to the previous page and enter the credentials details again.


Resolution

With the instruction below you could add a "Go Back" link to the password change error page, so the users could go back and reenter their credentials details.


1. Navigate to the $FILEDRIVEHOME/share/ftdocs/html/skin/ric/C/ directory and make a backup of the password_fail.html file.


2. Open the file, navigate to its end and locate the following line:


<div class="icon warning"><!--FDX_MESSAGE--></div>


3. Add the following code after the above line:


<a href="javascript:history.back()">Go Back</a>


After the change, the file should looks like this:


<div class="icon warning"><!--FDX_MESSAGE--></div> 
<a href="javascript:history.back()">Go Back</a> 
</div>
</body> 
</html>


Now there should be a "Go Back" link on the password change error page.