Skip to content

Commit

Permalink
Fix username unescaping in challenge question flow
Browse files Browse the repository at this point in the history
  • Loading branch information
kayathiri4 committed Sep 24, 2024
1 parent 72d1ec4 commit efebac1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@

<%
String username = IdentityManagementEndpointUtil.getStringValue(request.getAttribute("username"));
if (StringUtils.isNotBlank(username)) {
username = StringEscapeUtils.unescapeJava(username);
}
RetryError errorResponse = (RetryError) request.getAttribute("errorResponse");
if (errorResponse != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
if (StringUtils.isNotBlank(username)) {
username = (String) request.getAttribute("resolvedUsername");
username = StringEscapeUtils.unescapeJava(username);
}
// Password recovery parameters
Expand Down

0 comments on commit efebac1

Please sign in to comment.