diff --git a/src/main/java/com/rymcu/forest/auth/JwtFilter.java b/src/main/java/com/rymcu/forest/auth/JwtFilter.java index 37fe085..189bd5a 100644 --- a/src/main/java/com/rymcu/forest/auth/JwtFilter.java +++ b/src/main/java/com/rymcu/forest/auth/JwtFilter.java @@ -81,7 +81,7 @@ public class JwtFilter extends BasicHttpAuthenticationFilter { protected boolean onAccessDenied(ServletRequest request, ServletResponse response) { if (isLoginAttempt(request, response)) { try { - executeLogin(request, response); + return executeLogin(request, response); } catch (Exception e) { onLoginFail(response); }