Skip to content

Commit 5df5bbd

Browse files
Revert LoginUrlAuthenticationEntryPoint from main
1 parent 05485fd commit 5df5bbd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

web/src/main/java/org/springframework/security/web/authentication/LoginUrlAuthenticationEntryPoint.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2004-2024 Acegi Technology Pty Limited
2+
* Copyright 2004, 2005, 2006 Acegi Technology Pty Limited
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -138,6 +138,7 @@ public void commence(HttpServletRequest request, HttpServletResponse response,
138138
logger.debug(LogMessage.format("Server side forward to: %s", loginForm));
139139
RequestDispatcher dispatcher = request.getRequestDispatcher(loginForm);
140140
dispatcher.forward(request, response);
141+
return;
141142
}
142143

143144
protected String buildRedirectUrlToLoginPage(HttpServletRequest request, HttpServletResponse response,

0 commit comments

Comments
 (0)