Skip to content

Commit

Permalink
Merge pull request #73 from PSR-Co/fix/#72-setAccessTokenExpireTime
Browse files Browse the repository at this point in the history
[fix] AccessToken 기간 임시 변경
  • Loading branch information
sojungpp authored Aug 6, 2023
2 parents 61c831a + c4d92ab commit 054c6b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/kotlin/com/psr/psr/global/jwt/utils/JwtUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ class JwtUtils(
) {
val logger = KotlinLogging.logger {}

private final val ACCESS_TOKEN_EXPIRE_TIME: Long = 1000L * 60 * 30 // 30 분
// private final val ACCESS_TOKEN_EXPIRE_TIME: Long = 1000L * 60 * 30 // 30 분
private final val ACCESS_TOKEN_EXPIRE_TIME: Long = 1000L * 60 * 60 * 24 * 14 // 2주일 (임시)
private final val REFRESH_TOKEN_EXPIRE_TIME: Long = 1000L * 60 * 60 * 24 * 7 // 일주일

private val keyBytes = Decoders.BASE64.decode(secret)
Expand Down

0 comments on commit 054c6b3

Please sign in to comment.