Skip to content

Commit

Permalink
#33 [Update] Token 재발급 유효성 통과 못하는 부분 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
Anna-Jin committed Jul 20, 2022
1 parent 9238d0c commit 283e8d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public AuthResponse refreshToken(HttpServletRequest request, HttpServletResponse
.orElse((null));
AuthToken authRefreshToken = tokenProvider.convertAuthToken(refreshToken);

if (!authRefreshToken.tokenValidate()) {
if (authRefreshToken.getToken() == null || !authRefreshToken.tokenValidate()) {
throw new CustomException(ErrorCode.INVALID_REFRESH_TOKEN);
}

Expand Down

0 comments on commit 283e8d6

Please sign in to comment.