From fa75efd278a917b0c11bf998e6ac2689b5664ad6 Mon Sep 17 00:00:00 2001 From: Georges-Etienne Legendre Date: Sat, 18 Mar 2023 20:05:42 -0400 Subject: [PATCH] Avoid logging headers --- jwt.go | 1 - 1 file changed, 1 deletion(-) diff --git a/jwt.go b/jwt.go index 77d92a1..f43d5ac 100644 --- a/jwt.go +++ b/jwt.go @@ -95,7 +95,6 @@ func (j *JWT) ServeHTTP(res http.ResponseWriter, req *http.Request) { // Inject header as proxypayload or configured name req.Header.Add(j.payloadHeader, payload) - fmt.Println(req.Header) j.next.ServeHTTP(res, req) } else { http.Error(res, "Not allowed", http.StatusUnauthorized)