Skip to content

Commit

Permalink
Merge pull request #307 from OutDecision/issue/306
Browse files Browse the repository at this point in the history
[TEST]: 엑세스토큰 시간 증가
  • Loading branch information
baeksom authored Jun 6, 2024
2 parents f503b95 + 9ee5d73 commit 2507afe
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ public String generateRefreshToken(String email, String role) {


public String generateAccessToken(String email, String role) {
// long tokenPeriod = 1000L * 60L * 30L; // 30분
long tokenPeriod = 1000L * 10L;
long tokenPeriod = 1000L * 60L * 60L * 10L; // 1시간
// long tokenPeriod = 1000L * 10L;
Claims claims = Jwts.claims().setSubject(email);
claims.put("role", role);

Expand Down

0 comments on commit 2507afe

Please sign in to comment.