Skip to content

Commit

Permalink
[UPDATE]: 로그인 쿠키 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
baeksom committed May 26, 2024
1 parent 8730d42 commit f819048
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 * 60L * 30L; // 30분
long tokenPeriod = 1000L * 10L;
Claims claims = Jwts.claims().setSubject(email);
claims.put("role", role);

Expand Down

0 comments on commit f819048

Please sign in to comment.