Skip to content

Commit

Permalink
Merge pull request #205 from Team-MindWay/fix/204-reissue-after-acces…
Browse files Browse the repository at this point in the history
…s-token-work-not-problem

🔀 :: 재발급 후 엑세스 토큰이 작동하지 않는 문제
  • Loading branch information
Umjiseung authored Aug 21, 2024
2 parents e1f7c1f + 63fe122 commit 48878f7
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ public TokenResponse execute(String refreshToken) {
User user = userRepository.findById(refreshEntity.getMemberId())
.orElseThrow(UserNotFoundException::new);

refreshRepository.deleteById(refreshEntity.getRefreshToken());

TokenResponse tokenResponse = jwtProvider.generateTokenDto(user.getId());

saveRefreshToken(tokenResponse.getRefreshToken(), user.getId(), tokenResponse.getRefreshTokenExpiresIn());
Expand Down

0 comments on commit 48878f7

Please sign in to comment.