diff --git a/main.go b/main.go index 2f58b0a..2db994a 100644 --- a/main.go +++ b/main.go @@ -99,7 +99,6 @@ func checkAuthorizationHeader(handler http.Handler, r *http.Request, w http.Resp } if auth_header[0:6] == "Basic " { - log.Println("Received request with basic auth creds") b_creds, _ := base64.StdEncoding.DecodeString(auth_header[6:]) creds := string(b_creds) if creds == config.BasicAuth { @@ -110,7 +109,6 @@ func checkAuthorizationHeader(handler http.Handler, r *http.Request, w http.Resp username := creds[0:colon_idx] r.Header.Set(config.UsernameHeader, username) r.Header.Del("Authorization") - log.Printf("Accepted basic auth creds for %s\n", username) handler.ServeHTTP(w, r) return true } else {