Skip to content

Commit

Permalink
aT 1day reset
Browse files Browse the repository at this point in the history
  • Loading branch information
주어진사랑(eojinjoo) committed Apr 28, 2023
1 parent 3212902 commit fb47da6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ private String encodeJwtToken(UserInfo.Id userId, Long playgroundId) {
.setIssuer("sopt-makers")
.setIssuedAt(now.toDate())
.setSubject(userId.getId().toString())
.setExpiration(now.plusMinutes(1).toDate())
.setExpiration(now.plusDays(1).toDate())
.claim("id", userId.getId())
.claim("playgroundId", playgroundId)
.claim("roles", "USER")
Expand Down

0 comments on commit fb47da6

Please sign in to comment.