Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hwupathum committed Jan 10, 2025
1 parent 9a16779 commit 5643d2d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
request.getSession().invalidate();
String queryString = request.getQueryString();
String errorMessage = i18n(resourceBundle, "error.retry");
String errorMessage = i18n(resourceBundle, customText, "error.retry");
String authenticationFailed = "false";
if (Boolean.parseBoolean(request.getParameter(Constants.AUTH_FAILURE))) {
Expand All @@ -46,9 +46,9 @@
errorMessage = request.getParameter(Constants.AUTH_FAILURE_MSG);
if (errorMessage.equalsIgnoreCase("cancelled.on.app")) {
errorMessage = i18n(resourceBundle, "error.uaepass.cancelled");
errorMessage = i18n(resourceBundle, customText, "error.uaepass.cancelled");
} else {
errorMessage = i18n(resourceBundle, "error.retry");
errorMessage = i18n(resourceBundle, customText, "error.retry");
}
}
}
Expand Down Expand Up @@ -93,7 +93,7 @@
<layout:component componentName="MainSection">
<div class="ui segment">
<%-- page content --%>
<h2><%=i18n(resourceBundle, "error.uaepass.title")%>
<h2><%=i18n(resourceBundle, customText, "error.uaepass.title")%>
</h2>
<div class="ui divider hidden"></div>
<%
Expand Down

0 comments on commit 5643d2d

Please sign in to comment.