diff --git a/src/main/java/com/kusitms/jipbap/user/UserService.java b/src/main/java/com/kusitms/jipbap/user/UserService.java index 01b03bf..7f069a4 100644 --- a/src/main/java/com/kusitms/jipbap/user/UserService.java +++ b/src/main/java/com/kusitms/jipbap/user/UserService.java @@ -29,6 +29,7 @@ public ReissueResponseDto reissue(String email, String refreshToken) { throw new RefreshTokenNotFoundException("리프레쉬 토큰에서 유저정보를 찾을 수 없습니다."); } tokenProvider.validateToken(tokenProvider.resolveToken(refreshToken)); + user.updateRefreshToken(refreshToken); TokenInfo newAccessToken = tokenProvider.createAccessToken(user.getEmail(), user.getRole()); TokenInfo newRefreshToken = tokenProvider.createRefreshToken(user.getEmail(), user.getRole());