We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab894f6 commit 9f81a82Copy full SHA for 9f81a82
src/main/java/com/flint/flint/security/auth/jwt/JwtService.java
@@ -109,7 +109,7 @@ public Claims parseAllClaims(String token) {
109
public boolean isTokenValid(String token) {
110
String providerId = parseProviderId(token);
111
Date expiration = parseExpiration(token);
112
- if(expiration.after(new Date())) {
+ if(expiration.before(new Date())) {
113
throw new FlintCustomException(HttpStatus.BAD_REQUEST, ResultCode.JWT_DATE_NOT);
114
}
115
if(memberRepository.existsByProviderId(providerId)) {
0 commit comments