Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineDuComptoirDesPharmacies committed May 3, 2024
1 parent e85364a commit 64a673a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public boolean isExpired() {
return decodedJWT
.getExpiresAtAsInstant()
.isBefore(
Instant.now().plus(VALIDITY_MINIMUM_DELAY)
Instant.now().minus(VALIDITY_MINIMUM_DELAY)
);
}

Expand Down

0 comments on commit 64a673a

Please sign in to comment.