diff --git a/proxy/pkg/middleware/basic_auth.go b/proxy/pkg/middleware/basic_auth.go index f7a107f6a7..1f8d0a807d 100644 --- a/proxy/pkg/middleware/basic_auth.go +++ b/proxy/pkg/middleware/basic_auth.go @@ -79,7 +79,6 @@ func BasicAuth(optionSetters ...Option) func(next http.Handler) http.Handler { return } - w.WriteHeader(http.StatusUnauthorized) return }