From 9977423ac9ac8b6a58d4602f808dccc3fa08428b Mon Sep 17 00:00:00 2001 From: Tuomo Ala-Vannesluoma Date: Mon, 10 Sep 2018 13:00:11 +0300 Subject: Fix handling the projects with not updated configuration --- app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app.go') diff --git a/app.go b/app.go index 32ce53a0..6edf0ae5 100644 --- a/app.go +++ b/app.go @@ -95,7 +95,7 @@ func (a *theApp) getHostAndDomain(r *http.Request) (host string, domain *domain. } func (a *theApp) checkAuthenticationIfNotExists(domain *domain.D, w http.ResponseWriter, r *http.Request) bool { - if domain == nil || domain.GetID(r) == 0 { + if domain == nil || !domain.HasProject(r) { // Only if auth is supported if a.Auth.IsAuthSupported() { -- cgit v1.2.3