Skip to content

Commit

Permalink
remove unnecessary logging (#783)
Browse files Browse the repository at this point in the history
  • Loading branch information
kurochan committed Jul 20, 2022
1 parent c87e46f commit ec54ec4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions jwt/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package jwt
import (
"context"
"fmt"
"log"
"strconv"
"time"
)
Expand Down Expand Up @@ -392,7 +391,6 @@ func isIssuedAtValid(ctx context.Context, t Token) ValidationError {
now := clock.Now().Truncate(trunc)
ttv := tv.Truncate(trunc)

log.Printf("now = %s, ttv = %s, skew = %s, trunc = %s", now.UTC(), ttv, skew, trunc)
if now.Before(ttv.Add(-1 * skew)) {
return ErrInvalidIssuedAt()
}
Expand Down

0 comments on commit ec54ec4

Please sign in to comment.