Skip to content

Commit

Permalink
fix: 토큰 응답값 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
nohy6630 committed Apr 14, 2024
1 parent 7021589 commit 0288fdd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ protected void doFilterInternal(HttpServletRequest request, HttpServletResponse
try {
filterChain.doFilter(request, response);
} catch (ExpiredJwtException e) {
httpResponseProvider.setErrorResponse(response, HttpServletResponse.SC_FORBIDDEN, EXPIRED_TOKEN);
httpResponseProvider.setErrorResponse(response, HttpServletResponse.SC_UNAUTHORIZED, EXPIRED_TOKEN);
} catch (JwtException e) {
httpResponseProvider.setErrorResponse(response, HttpServletResponse.SC_UNAUTHORIZED, INVALID_TOKEN);
}
Expand Down

0 comments on commit 0288fdd

Please sign in to comment.