Skip to content

Commit

Permalink
#82 fix : Jwt 만료 시간 30분 -> 5시간
Browse files Browse the repository at this point in the history
  • Loading branch information
rivkode committed Apr 26, 2024
1 parent f7b9f50 commit 36e5ff3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
public class JwtUtil {
public static final String AUTHORIZATION_HEADER = "Authorization"; // Header KEY 값
public static final String BEARER_PREFIX = "Bearer "; // Token 식별자
private static final long TOKEN_TIME = Duration.ofMinutes(30).toMillis(); // 토큰 만료시간 30분
private static final long TOKEN_TIME = Duration.ofHours(5).toMillis(); // 토큰 만료시간 5hours

@Value("${jwt.secret}") // Base 64 decode시 사용하는 Key
private String secretKey;
Expand Down

0 comments on commit 36e5ff3

Please sign in to comment.