commit | bbb5b5fa96ad35de43bb6873a3b3a5afed0f956a | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@bazanski.pl> | Sun Oct 14 17:13:16 2018 +0100 |
committer | Serge Bazanski <serge@bazanski.pl> | Sun Oct 14 17:13:16 2018 +0100 |
tree | 7af6754f2dcda9c88fcd324ed86f6f2a26eee7d0 | |
parent | f77e7d31afd3d5448bcab91361cef137c7468a82 [diff] |
whoops2
diff --git a/mirko.go b/mirko.go index b40f27a..c7778d1 100644 --- a/mirko.go +++ b/mirko.go
@@ -79,7 +79,7 @@ m.httpMux = http.NewServeMux() // Canonical URLs m.httpMux.HandleFunc("/debug/status", func(w http.ResponseWriter, r *http.Request) { - any, sensitive := authRequest(r) + any, _ := authRequest(r) if !any { http.Error(w, "not allowed", http.StatusUnauthorized) return