From 9b381abe50578d573ed02e4233e7029e01d24306 Mon Sep 17 00:00:00 2001 From: mingeun0507 Date: Thu, 25 May 2023 21:14:25 +0900 Subject: [PATCH] =?UTF-8?q?Fix(#171):=20=EC=98=A4=ED=83=80=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/_8attery/seesaw/service/auth/AuthServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/_8attery/seesaw/service/auth/AuthServiceImpl.java b/src/main/java/com/_8attery/seesaw/service/auth/AuthServiceImpl.java index 8fe27dc..0784385 100644 --- a/src/main/java/com/_8attery/seesaw/service/auth/AuthServiceImpl.java +++ b/src/main/java/com/_8attery/seesaw/service/auth/AuthServiceImpl.java @@ -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에서 접속했습니다. 다시 로그인해주세요."); }