diff --git a/web/src/main/java/org/springframework/security/web/authentication/ui/DefaultLoginPageGeneratingFilter.java b/web/src/main/java/org/springframework/security/web/authentication/ui/DefaultLoginPageGeneratingFilter.java index efdc73e9a6..042fc41d26 100644 --- a/web/src/main/java/org/springframework/security/web/authentication/ui/DefaultLoginPageGeneratingFilter.java +++ b/web/src/main/java/org/springframework/security/web/authentication/ui/DefaultLoginPageGeneratingFilter.java @@ -242,8 +242,8 @@ public class DefaultLoginPageGeneratingFilter extends GenericFilterBean { sb.append("

Request a One-Time Token

\n"); sb.append(createError(loginError, errorMsg) + createLogoutSuccess(logoutSuccess) + "

\n"); sb.append(" \n"); - sb.append(" \n"); + sb.append( + " \n"); sb.append("

\n"); sb.append(renderHiddenInputs(request)); sb.append(" \n"); diff --git a/web/src/test/java/org/springframework/security/web/authentication/DefaultLoginPageGeneratingFilterTests.java b/web/src/test/java/org/springframework/security/web/authentication/DefaultLoginPageGeneratingFilterTests.java index c1fe329f05..9527709878 100644 --- a/web/src/test/java/org/springframework/security/web/authentication/DefaultLoginPageGeneratingFilterTests.java +++ b/web/src/test/java/org/springframework/security/web/authentication/DefaultLoginPageGeneratingFilterTests.java @@ -199,7 +199,7 @@ public class DefaultLoginPageGeneratingFilterTests {

Request a One-Time Token

- +