From 7c8ea53a6cf211a6116f96bb4e9fc94b694bac39 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 9 May 2022 15:13:05 -0600 Subject: [PATCH] security: remove debug token logging --- chiauth/chiauth.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/chiauth/chiauth.go b/chiauth/chiauth.go index a46cfe8..bccae23 100644 --- a/chiauth/chiauth.go +++ b/chiauth/chiauth.go @@ -2,7 +2,6 @@ package chiauth import ( "context" - "log" "net/http" "strings" @@ -46,7 +45,6 @@ func NewTokenVerifier(opts VerificationParams) func(http.Handler) http.Handler { // just setting a default, other handlers can change this token := r.Header.Get("Authorization") - log.Printf("%s %s %s\n", r.Method, r.URL.Path, token) if "" == token { if opts.Optional {