|
|
@@ -60,8 +60,8 @@ public class JwtAuthenticationTokenFilter extends OncePerRequestFilter {
|
|
|
SecurityContextHolder.getContext().setAuthentication(authentication);
|
|
|
}
|
|
|
} catch (UsernameNotFoundException e) {
|
|
|
- httpServletResponse.getWriter().print("{\"code\":403,\"msg\":\"Unthorization\",\"result\":null}");
|
|
|
- httpServletResponse.setStatus(403);
|
|
|
+// httpServletResponse.getWriter().print("{\"code\":403,\"msg\":\"Unthorization\",\"result\":null}");
|
|
|
+// httpServletResponse.setStatus(403);
|
|
|
}
|
|
|
}
|
|
|
}
|