aboutsummaryrefslogtreecommitdiffstats
path: root/routers/home.go
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2015-02-06 21:16:23 -0500
committerUnknwon <joe2010xtmf@163.com>2015-02-06 21:16:23 -0500
commit216683004e8bf3e7523236416be21b2123d32e8e (patch)
tree4f4f4d1daac9177c926250f2634dd4d97b2f0a37 /routers/home.go
parent87b90372a7a30fb9431e03d84d766c92447ff297 (diff)
downloadgitea-216683004e8bf3e7523236416be21b2123d32e8e.tar.gz
gitea-216683004e8bf3e7523236416be21b2123d32e8e.zip
code fix for #908, and work for #884
Diffstat (limited to 'routers/home.go')
-rw-r--r--routers/home.go1
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)