🎨 jwt + shiro
This commit is contained in:
parent
7d5176a243
commit
f06e370d83
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user