Skip to content

Commit

Permalink
Change error url
Browse files Browse the repository at this point in the history
  • Loading branch information
Pelayori committed Feb 23, 2024
1 parent 2da741d commit 5236b9f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class CustomAuthenticationFailureHandler extends SimpleUrlAuthenticationF
@Override
public void onAuthenticationFailure(HttpServletRequest request, HttpServletResponse response, AuthenticationException exception)
throws ServletException, IOException {
setDefaultFailureUrl("/login?error=true");
setDefaultFailureUrl("/login?error");

super.onAuthenticationFailure(request, response, exception);

Expand Down

0 comments on commit 5236b9f

Please sign in to comment.