Skip to content

Commit

Permalink
Merge pull request #222 from OutDecision/issue/216
Browse files Browse the repository at this point in the history
🐞 [BUGFIX]: 동시접속 에러 해결
  • Loading branch information
baeksom authored May 26, 2024
2 parents 06d1d84 + f221ef9 commit f7ea8f9
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 * 30L; // 30분
// long tokenPeriod = 1000L * 10L;
Claims claims = Jwts.claims().setSubject(email);
claims.put("role", role);

Expand Down

0 comments on commit f7ea8f9

Please sign in to comment.