From bd1c2126bc6cbcf73db3960a3e3200d76eeb3eaa Mon Sep 17 00:00:00 2001 From: Pavel Date: Mon, 27 May 2024 19:06:54 +0300 Subject: [PATCH] delete some logs --- jwt_adapter/jwt_adapter.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/jwt_adapter/jwt_adapter.go b/jwt_adapter/jwt_adapter.go index 320e60d..197eec3 100644 --- a/jwt_adapter/jwt_adapter.go +++ b/jwt_adapter/jwt_adapter.go @@ -33,7 +33,6 @@ type JwtAdapter struct { func init() { aS := os.Getenv("JWT_SECRET") - fmt.Println("ASS", aS) if len(aS) != 0 { accessSecret = aS } @@ -76,7 +75,6 @@ func Decode(tokenString string) (*JwtAdapter, error) { if _, ok := token.Method.(*jwt.SigningMethodRSA); !ok { return nil, fmt.Errorf("unexpected signing method: %v", token.Header["alg"]) } - fmt.Println("ASSS", accessSecret) return jwt.ParseRSAPublicKeyFromPEM([]byte(accessSecret)) })