Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app.go
diff options
context:
space:
mode:
authorTuomo Ala-Vannesluoma <tuomoav@gmail.com>2018-08-18 10:00:42 +0300
committerTuomo Ala-Vannesluoma <tuomoav@gmail.com>2018-08-18 10:00:42 +0300
commit240293f844ff22e19924644aa27815b6ca54735e (patch)
tree50a4d20542c019e6155ef39dfb7ef8709e8e18b7 /app.go
parent82335177a418afc9aeaab9cf117c94f5063fb1b7 (diff)
Add missing return call
Diffstat (limited to 'app.go')
-rw-r--r--app.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/app.go b/app.go
index 3ffe9ad9..32ce53a0 100644
--- a/app.go
+++ b/app.go
@@ -114,6 +114,7 @@ func (a *theApp) checkAuthenticationIfNotExists(domain *domain.D, w http.Respons
// Without auth, fall back to 404
if domain == nil {
httperrors.Serve404(w)
+ return true
}
return false