Skip to content

Commit

Permalink
[refactor] 토큰 만료 시간 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
hysong4u committed Jan 10, 2024
1 parent e5856e2 commit 89a2de0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public MemberTokenResponseDto saveToken(Long memberId) {
refreshToken = storedRefreshToken;
} else {
refreshToken = issueNewRefreshToken(memberId);
redisTemplate.opsForValue().set(redisKey, refreshToken, 1, TimeUnit.HOURS);
redisTemplate.opsForValue().set(redisKey, refreshToken, 7, TimeUnit.DAYS);
}

System.out.println("카카오 로그인 성공 memberId: " + memberId + " accessToken :" + accessToken + " refreshToken: " + refreshToken);
Expand Down

0 comments on commit 89a2de0

Please sign in to comment.