From 945c4d755999d047f5ce20f3deff43d2e552e1c4 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 22 Jan 2020 12:25:28 +0000 Subject: [PATCH] fix --- main.go | 1 + 1 file changed, 1 insertion(+) 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 } }