summaryrefslogtreecommitdiffstats
path: root/routers/home.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/home.go')
-rw-r--r--routers/home.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/home.go b/routers/home.go
index dd604ec7e3..24fc77e12a 100644
--- a/routers/home.go
+++ b/routers/home.go
@@ -41,6 +41,7 @@ func Home(ctx *middleware.Context) {
ctx.Data["OauthEnabled"] = true
ctx.Data["OauthService"] = setting.OauthService
}
+ ctx.Data["ShowRegistrationButton"] = setting.Service.ShowRegistrationButton
ctx.Data["PageIsHome"] = true
ctx.HTML(200, HOME)