Skip to content

Commit

Permalink
fix: 두개의 토큰이 만료됐을 경우에만 쿠키를 지우도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
02ggang9 committed Jan 31, 2024
1 parent d5205e8 commit 1160f52
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public void doFilter(ServletRequest request, ServletResponse response, FilterCha
} else if (accessTokenDto.getResultType() == JwtValidationType.UNKNOWN && refreshTokenDto.getResultType() == JwtValidationType.UNKNOWN) {
filterChain.doFilter(request, response);
return;
} else {
} else if (accessTokenDto.getResultType() == EXPIRED && refreshTokenDto.getResultType() == EXPIRED) {
authCookieService.setCookieExpired((HttpServletResponse) response);
}

Expand Down

0 comments on commit 1160f52

Please sign in to comment.