diff options
author | Unknwon <joe2010xtmf@163.com> | 2015-02-06 21:16:23 -0500 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2015-02-06 21:16:23 -0500 |
commit | 216683004e8bf3e7523236416be21b2123d32e8e (patch) | |
tree | 4f4f4d1daac9177c926250f2634dd4d97b2f0a37 /routers | |
parent | 87b90372a7a30fb9431e03d84d766c92447ff297 (diff) | |
download | gitea-216683004e8bf3e7523236416be21b2123d32e8e.tar.gz gitea-216683004e8bf3e7523236416be21b2123d32e8e.zip |
code fix for #908, and work for #884
Diffstat (limited to 'routers')
-rw-r--r-- | routers/home.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/routers/home.go b/routers/home.go index 24fc77e12a..dd604ec7e3 100644 --- a/routers/home.go +++ b/routers/home.go @@ -41,7 +41,6 @@ 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) |