From f06e370d830798c367bc1f49444fa925cc99b07d Mon Sep 17 00:00:00 2001 From: ronger Date: Sun, 30 Oct 2022 01:13:01 +0800 Subject: [PATCH] :art: jwt + shiro --- src/main/java/com/rymcu/forest/auth/JwtFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }