Skip to content

Commit

Permalink
fix - #76 탈퇴시에 리프레시 토큰 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
kseysh committed Jan 19, 2024
1 parent 29fecd9 commit 3020015
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ public ReissueResponse reissueToken(String refreshToken) {

@Transactional
public void withdraw(Long userId) {
tokenService.deleteRefreshToken(userId);
userRepository.findByIdOrThrowException(userId).softDelete();
}

Expand Down

0 comments on commit 3020015

Please sign in to comment.