diff options
author | Tuomo Ala-Vannesluoma <tuomoav@gmail.com> | 2018-06-30 22:31:06 +0300 |
---|---|---|
committer | Tuomo Ala-Vannesluoma <tuomoav@gmail.com> | 2018-06-30 22:51:43 +0300 |
commit | 9681f91e84e78035f48f85c320ae1a3aa4b6ee07 (patch) | |
tree | cddf5e01cb656e219cf1e13458e5b02434bca8ec /app.go | |
parent | a57640fd330cc854b0d48a3b685dd61bec9cf57d (diff) |
Combine private boolean with the access_control flag
Diffstat (limited to 'app.go')
-rw-r--r-- | app.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -172,8 +172,8 @@ func (a *theApp) serveContent(ww http.ResponseWriter, r *http.Request, https boo return } - // Only for private domains that have access control enabled - if domain.IsAccessControlEnabled(r) && domain.IsPrivate(r) { + // Only for projects that have access control enabled + if domain.IsAccessControlEnabled(r) { if a.Auth.CheckAuthentication(&w, r, domain.GetID(r)) { return } |