diff --git a/admin.go b/admin.go index 71a4dba..2552292 100644 --- a/admin.go +++ b/admin.go @@ -41,7 +41,7 @@ func (a *AdminApi) checkAuth(w http.ResponseWriter, r *http.Request) (success bo success = true } if !success { - if !ok { + if ok { time.Sleep(3 * time.Second) } w.Header().Set("WWW-Authenticate", fmt.Sprintf("Basic realm=\"%s\"", config.ApplicationName))