Version Affected: All
Bug Number: EE-4107
Bug Status: Open - Workaround Available (versions earlier than 26.2 only)
Fixed in Version(s): Not yet fixed
Overview
On the Password Reset page (PasswordReset.aspx), the text of the Unlock button cannot be changed in Content and Localization. The button always reads Unlock, even when the rest of the page's text has been changed or translated into another language.
This is logged as a bug, but it is more an enhancement request than a bug that causes problems. The Unlock button works as expected. Only its text cannot be changed.
Cause
The button's text is written directly into PasswordReset.aspx instead of being read from Content and Localization. Most of the Password Reset page's text comes from Content and Localization keys that begin with passwordreset_, but there is no key for the Unlock button. Its text therefore cannot be changed there, and it cannot be set for each language.
Resolution / Workaround
26.2 and later: There is no workaround. The button's text cannot be changed.
Versions earlier than 26.2: An administrator with access to the Identity Provider (IdP) server can change the text by editing the page file. This sets one fixed value: the new text is shown for every language, and you cannot set a different value for each language.
To change the text:
- On the IdP server, go to the realm's Authorized folder, for example D:\SecureAuth\SecureAuthX\Authorized, where X is the realm number.
- Make a backup copy of PasswordReset.aspx.
- Open PasswordReset.aspx in a text editor and search for ButtonUnlock. The line that defines the button looks similar to this:
<asp:Button ID="ButtonUnlock" runat="server" CssClass="btn btn-secureauth btn-large btn-unlock" Text="Unlock" CausesValidation="false" /> - Change Text="Unlock" to the text you want, for example Text="Unlock Account". Change only the value inside the quotation marks.
- Save the file.
- If more than one IdP server hosts the realm, repeat steps 1 to 5 on each server.
- Open the Password Reset page and check that the button shows the new text.
An upgrade or hotfix is likely to replace PasswordReset.aspx and undo this change. After applying one, check the button text. If the change has been undone and the IdP is still on a version earlier than 26.2, repeat the steps above.
SecureAuth Knowledge Base Articles provide information based on specific use cases and may not apply to all appliances or configurations. Be advised that these instructions could cause harm to the environment if not followed correctly or if they do not apply to the current use case.
Customers are responsible for their own due diligence prior to utilizing this information and agree that SecureAuth is not liable for any issues caused by misconfiguration directly or indirectly related to SecureAuth products.
Comments
0 comments
Please sign in to leave a comment.