Skip to content

Commit

Permalink
fix: temporary change to auth logic
Browse files Browse the repository at this point in the history
  • Loading branch information
mushroom1324 committed Sep 25, 2024
1 parent f7b185b commit 0f2f810
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ public boolean validateToken(String token) {
Jws<Claims> claims = build.parseClaimsJws(token);

// λ§Œλ£Œλ˜μ—ˆμ„ μ‹œ false
return !claims.getBody().getExpiration().before(new Date());
// return !claims.getBody().getExpiration().before(new Date());
return true;
} catch (Exception e) {
return false;
}
Expand Down

0 comments on commit 0f2f810

Please sign in to comment.