Skip to content

Commit e31f04b

Browse files
nevelerjzheaux
authored andcommitted
withValue used incorrectly
Closes gh-16525 Closes gh-16527 Signed-off-by: NeoTraveler <55753029+NeoTraveler@users.noreply.github.com>
1 parent 5ff8712 commit e31f04b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/main/java/org/springframework/security/web/authentication/ui/DefaultLoginPageGeneratingFilter.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ private String renderFormLogin(HttpServletRequest request, boolean loginError, b
286286
.withValue("passwordParameter", this.passwordParameter)
287287
.withRawHtml("rememberMeInput", renderRememberMe(this.rememberMeParameter))
288288
.withRawHtml("hiddenInputs", hiddenInputs)
289-
.withValue("autocomplete", this.passkeysEnabled ? "autocomplete=\"password webauthn\"" : "")
289+
.withRawHtml("autocomplete", this.passkeysEnabled ? "autocomplete=\"password webauthn\" " : "")
290290
.render();
291291
}
292292

0 commit comments

Comments
 (0)