From f4cae786d5efedaf560a19877b8cd75e191402f4 Mon Sep 17 00:00:00 2001 From: Bel LaPointe Date: Mon, 18 Feb 2019 17:18:33 -0700 Subject: [PATCH] neato --- server/server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/server.go b/server/server.go index e2946d6..741aafa 100644 --- a/server/server.go +++ b/server/server.go @@ -68,6 +68,7 @@ func (s *Server) doAuth(foo http.HandlerFunc) http.HandlerFunc { usr, pwd, ok := r.BasicAuth() if !ok || rusr != usr || rpwd != pwd { w.WriteHeader(http.StatusUnauthorized) + log.Printf("denying basic auth") return } }