Skip to content

Commit

Permalink
Jwt 토큰 생명 주기 롤백 (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
ysw789 authored Oct 2, 2024
1 parent 886a89f commit 7381c91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/dongyang/dongpo/jwt/JwtTokenProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
public class JwtTokenProvider {

private final Key key;
private final long ACCESSTOKEN_VALIDTIME = 30 * 1000L; // 30분 // 테스트: 30초
private final long REFRESHTOKEN_VALIDTIME = 1 * 60 * 1000L; // 7일 // 테스트 : 1분
private final long ACCESSTOKEN_VALIDTIME = 30 * 60 * 1000L; // 30분
private final long REFRESHTOKEN_VALIDTIME = 7 * 24 * 60 * 60 * 1000L; // 7일

private final CustomUserDetailsService customUserDetailsService;

Expand Down

0 comments on commit 7381c91

Please sign in to comment.