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:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2019-10-11 11:06:17 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2019-11-23 17:06:33 +0300
commitbabdf5ea9aae2bff2267c5047b2714e00649fd11 (patch)
tree435bd1731daf4b076c3c9f2a02edeb60da36bd3e /internal/auth/auth.go
parent9c69ac5306545be017701dfff7afe25c8b814c3f (diff)
Add abstract GitLab domains source interface
Diffstat (limited to 'internal/auth/auth.go')
-rw-r--r--internal/auth/auth.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/auth/auth.go b/internal/auth/auth.go
index 2e8473b4..320dcb11 100644
--- a/internal/auth/auth.go
+++ b/internal/auth/auth.go
@@ -108,7 +108,6 @@ func (a *Auth) checkSession(w http.ResponseWriter, r *http.Request) (*sessions.S
// TryAuthenticate tries to authenticate user and fetch access token if request is a callback to auth
func (a *Auth) TryAuthenticate(w http.ResponseWriter, r *http.Request, domains *source.Domains) bool {
-
if a == nil {
return false
}