Skip to content

Commit

Permalink
feat:
Browse files Browse the repository at this point in the history
  • Loading branch information
ori0o0p committed Aug 13, 2024
1 parent df86a4b commit 65da1fb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ public TokenResponse receiveToken(String id, UserRole userRole) {
.builder()
.accessToken(createAccessToken(id, userRole))
.refreshToken(createRefreshToken(id, userRole))
.accessExpiredAt(now.plusSeconds(jwtProperties.accessExpiration()))
.refreshExpiredAt(now.plusSeconds(jwtProperties.refreshExpiration()))
.accessExpiredAt(now.plusSeconds(jwtProperties.accessExpiration()).toEpochSecond())
.refreshExpiredAt(now.plusSeconds(jwtProperties.refreshExpiration()).toEpochSecond())
.build();
}

Expand Down

0 comments on commit 65da1fb

Please sign in to comment.