Skip to content

Commit 5d85a1c

Browse files
iHelinrwinch
authored andcommitted
Fix DefaultLoginPageGeneratingFilter Markup
the `</h3>` should be `</h2>`.
1 parent 4916745 commit 5d85a1c

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
@@ -272,7 +272,7 @@ private String generateLoginPageHtml(HttpServletRequest request, boolean loginEr
272272
}
273273

274274
if (oauth2LoginEnabled) {
275-
sb.append("<h2 class=\"form-signin-heading\">Login with OAuth 2.0</h3>");
275+
sb.append("<h2 class=\"form-signin-heading\">Login with OAuth 2.0</h2>");
276276
sb.append(createError(loginError, errorMsg));
277277
sb.append(createLogoutSuccess(logoutSuccess));
278278
sb.append("<table class=\"table table-striped\">\n");

0 commit comments

Comments
 (0)