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
path: root/app.go
diff options
context:
space:
mode:
Diffstat (limited to 'app.go')
-rw-r--r--app.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/app.go b/app.go
index 59672589..047e7ed9 100644
--- a/app.go
+++ b/app.go
@@ -11,11 +11,11 @@ import (
"sync"
"time"
- mimedb "gitlab.com/lupine/go-mimedb"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"
"github.com/rs/cors"
log "github.com/sirupsen/logrus"
+ mimedb "gitlab.com/lupine/go-mimedb"
"gitlab.com/gitlab-org/gitlab-pages/internal/admin"
"gitlab.com/gitlab-org/gitlab-pages/internal/artifact"
@@ -174,6 +174,8 @@ func (a *theApp) serveContent(ww http.ResponseWriter, r *http.Request, https boo
// Only for projects that have access control enabled
if domain.IsAccessControlEnabled(r) {
+ log.Debug("Authenticate request")
+
if a.Auth.CheckAuthentication(&w, r, domain.GetID(r)) {
return
}