Skip to content

Commit

Permalink
Revert "fix: isExpired 임시 log 처리 (#444)"
Browse files Browse the repository at this point in the history
This reverts commit 445f0dd.
  • Loading branch information
junpakPark committed Sep 19, 2023
1 parent 445f0dd commit 21081b9
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@
import io.jsonwebtoken.SignatureAlgorithm;
import java.util.Date;
import java.util.UUID;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class JwtTokenProvider implements TokenProvider {

Expand Down Expand Up @@ -96,8 +94,6 @@ private boolean isExpired(String token) {
} catch (ExpiredJwtException e) {
return true;
} catch (JwtException | IllegalArgumentException e) {
log.warn("source = {}", e.getStackTrace()[0].toString());

throw new AuthUnauthorizedException(ILLEGAL_TOKEN);
}
}
Expand Down

0 comments on commit 21081b9

Please sign in to comment.