diff --git a/src/main/java/com/chint/infrastructure/config/webconfig/JwtTokenAdminInterceptor.java b/src/main/java/com/chint/infrastructure/config/webconfig/JwtTokenAdminInterceptor.java index 20a0a8b1..902f78be 100644 --- a/src/main/java/com/chint/infrastructure/config/webconfig/JwtTokenAdminInterceptor.java +++ b/src/main/java/com/chint/infrastructure/config/webconfig/JwtTokenAdminInterceptor.java @@ -67,8 +67,8 @@ public class JwtTokenAdminInterceptor implements HandlerInterceptor { if (res) { return true; } else { -// throw new AuthException(JWT_INVALID); - return true; + throw new AuthException(JWT_INVALID); +// return true; } } } \ No newline at end of file