Skip to content

Commit

Permalink
Merge pull request #39 from SWEET-DEVELOPERS/feature/#38-member
Browse files Browse the repository at this point in the history
[refactor] 토큰 만료 시간 변경
  • Loading branch information
hysong4u authored Jan 10, 2024
2 parents 665a08a + 89a2de0 commit 44d343b
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 44d343b

Please sign in to comment.