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 9f81a82 commit ab26bc9Copy full SHA for ab26bc9
src/main/java/com/flint/flint/security/auth/jwt/JwtService.java
@@ -112,7 +112,7 @@ public boolean isTokenValid(String token) {
112
if(expiration.before(new Date())) {
113
throw new FlintCustomException(HttpStatus.BAD_REQUEST, ResultCode.JWT_DATE_NOT);
114
}
115
- if(memberRepository.existsByProviderId(providerId)) {
+ if(!memberRepository.existsByProviderId(providerId)) {
116
throw new FlintCustomException(HttpStatus.NOT_FOUND, ResultCode.USER_NOT_FOUND);
117
118
return true;
0 commit comments