Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal/auth/auth.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/auth/auth.go b/internal/auth/auth.go
index 59dd0749..84f42a53 100644
--- a/internal/auth/auth.go
+++ b/internal/auth/auth.go
@@ -218,7 +218,7 @@ func (a *Auth) handleProxyingAuth(session *hostSession, w http.ResponseWriter, r
if !a.domainAllowed(r.Context(), host, domains) {
logRequest(r).WithField("domain", host).Warn("Domain is not configured")
- httperrors.Serve401(w)
+ httperrors.Serve404(w)
return true
}