From ec54ec431aa503ab1d5fc11a5c97a70daf2e0171 Mon Sep 17 00:00:00 2001 From: Kurochan Date: Wed, 20 Jul 2022 18:40:25 +0900 Subject: [PATCH] remove unnecessary logging (#783) --- jwt/validate.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/jwt/validate.go b/jwt/validate.go index 26e21d7e4..db2a65959 100644 --- a/jwt/validate.go +++ b/jwt/validate.go @@ -3,7 +3,6 @@ package jwt import ( "context" "fmt" - "log" "strconv" "time" ) @@ -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() }