From 9681f91e84e78035f48f85c320ae1a3aa4b6ee07 Mon Sep 17 00:00:00 2001 From: Tuomo Ala-Vannesluoma Date: Sat, 30 Jun 2018 22:31:06 +0300 Subject: Combine private boolean with the access_control flag --- app.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app.go') diff --git a/app.go b/app.go index af4d5744..59672589 100644 --- a/app.go +++ b/app.go @@ -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 } -- cgit v1.2.3