Skip to content

Commit

Permalink
[UPDATE]: 게시글 수정-파라미터값 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
sye1101 committed May 26, 2024
1 parent f3bb58c commit eac0ed2
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 eac0ed2

Please sign in to comment.