Skip to content

Commit 4c89e18

Browse files
committed
Fix usage of incorrect variable
1 parent e6d7d57 commit 4c89e18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-security-advanced-authentication-ui/src/main/java/software/xdev/spring/security/web/authentication/ui/advanced/filters/AdvancedLoginPageGeneratingFilter.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ protected String createOneTimeTokenLogin(final HttpServletRequest request, final
456456
+ "<div class='form-floating'>"
457457
+ " <input type='text' class='form-control' name=\"" + this.oneTimeTokenUsernameParameter + "\""
458458
+ " id='ott-username' placeholder=\"" + this.oneTimeTokenUsernameText + "\" required>"
459-
+ " <label for='username'>" + this.oneTimeTokenUsernameParameter + "</label>"
459+
+ " <label for='username'>" + this.oneTimeTokenUsernameText + "</label>"
460460
+ "</div>"
461461
+ this.renderHiddenInputs(request)
462462
+ this.createOneTimeTokenLoginSignInButton()

0 commit comments

Comments
 (0)