diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-10-11 11:06:17 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-11-23 17:06:33 +0300 |
commit | babdf5ea9aae2bff2267c5047b2714e00649fd11 (patch) | |
tree | 435bd1731daf4b076c3c9f2a02edeb60da36bd3e /internal/auth | |
parent | 9c69ac5306545be017701dfff7afe25c8b814c3f (diff) |
Add abstract GitLab domains source interface
Diffstat (limited to 'internal/auth')
-rw-r--r-- | internal/auth/auth.go | 1 |
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 } |