diff --git a/main.go b/main.go index 5235a9b..00a677c 100644 --- a/main.go +++ b/main.go @@ -58,6 +58,7 @@ func BasicAuth(next http.Handler) http.Handler { w.Header().Set("WWW-Authenticate", `Basic realm="mydomains"`) http.Error(w, "Unauthorized", http.StatusUnauthorized) + return } }