diff options
author | Tuomo Ala-Vannesluoma <tuomoav@gmail.com> | 2018-09-10 13:00:11 +0300 |
---|---|---|
committer | Tuomo Ala-Vannesluoma <tuomoav@gmail.com> | 2018-09-10 13:00:11 +0300 |
commit | 9977423ac9ac8b6a58d4602f808dccc3fa08428b (patch) | |
tree | eb8fd8ace6f4180a48988adfe357b3d48b25b542 /app.go | |
parent | a96f9a78f30df440efa682bb84e0c96b247fa138 (diff) |
Fix handling the projects with not updated configuration
Diffstat (limited to 'app.go')
-rw-r--r-- | app.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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() { |