From d2ed4219087cedee15c6553e0aed5878cb6fb323 Mon Sep 17 00:00:00 2001 From: minaamim Date: Wed, 13 Dec 2023 18:09:42 +0900 Subject: [PATCH] chore: reduce refresh token expire time --- .../java/com/nexters/buyornot/global/jwt/JwtTokenProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/nexters/buyornot/global/jwt/JwtTokenProvider.java b/src/main/java/com/nexters/buyornot/global/jwt/JwtTokenProvider.java index d9356cb..fdbabde 100644 --- a/src/main/java/com/nexters/buyornot/global/jwt/JwtTokenProvider.java +++ b/src/main/java/com/nexters/buyornot/global/jwt/JwtTokenProvider.java @@ -25,7 +25,7 @@ public class JwtTokenProvider { private final Key key; private static final String BEARER_TYPE = "Bearer "; private static final long ACCESS_TOKEN_EXPIRE_TIME = 1000 * 60 * 30; // 30분 - private static final long REFRESH_TOKEN_EXPIRE_TIME = 1000 * 60 * 60 * 24 * 30; // 30일 + private static final long REFRESH_TOKEN_EXPIRE_TIME = 1000 * 60 * 60 * 24 * 14; // 14일 private static final long EXPIRED_TIME = 1L; private final RedisTemplate redisTemplate;