diff options
author | Jaime Martinez <jmartinez@gitlab.com> | 2020-05-28 07:50:18 +0300 |
---|---|---|
committer | Jaime Martinez <jmartinez@gitlab.com> | 2020-07-06 02:13:51 +0300 |
commit | fb2c26ff998b809baddeb9618aae52c49200bc8b (patch) | |
tree | 500310d07317b81acffab5d9efc2f64cf0d01fbf /app.go | |
parent | cac920323f196072c28bee611a4ee9157316cd6f (diff) |
Find parent namepsace domain if auth fails for current project
Update labkit
Diffstat (limited to 'app.go')
-rw-r--r-- | app.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -250,7 +250,7 @@ func (a *theApp) accessControlMiddleware(handler http.Handler) http.Handler { // Only for projects that have access control enabled if domain.IsAccessControlEnabled(r) { // accessControlMiddleware - if a.Auth.CheckAuthentication(w, r, domain.GetProjectID(r)) { + if a.Auth.CheckAuthentication(w, r, domain) { return } } |