diff options
Diffstat (limited to 'routers/home.go')
-rw-r--r-- | routers/home.go | 1 |
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) |