master
Serge Bazanski 2018-10-14 17:13:16 +01:00
parent f77e7d31af
commit bbb5b5fa96
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ func (m *Mirko) Listen() error {
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