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 } }