Skip to content

Commit

Permalink
Fix(#171): 오타 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
mingeun0507 committed May 25, 2023
1 parent 04ea5de commit 9b381ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public LoginResponseDto regenerateAccessToken(RefreshTokenRequestDto refreshToke

if (existingIp == null) { // refreshToken이 같은 지 검증
throw new InvalidTokenException("유효하지 않은 Refresh Token입니다.");
} else if (!existingIp.equals(refreshToken)) { // refreshToken이 같은 지 검증
} else if (!existingIp.equals(clientIp)) { // refreshToken이 같은 지 검증
throw new InvalidTokenException("다른 IP에서 접속했습니다. 다시 로그인해주세요.");
}

Expand Down

0 comments on commit 9b381ab

Please sign in to comment.