summaryrefslogtreecommitdiffstats
path: root/routers/home.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/home.go')
-rw-r--r--routers/home.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/routers/home.go b/routers/home.go
index 16d0c7c416..4e1ebe9896 100644
--- a/routers/home.go
+++ b/routers/home.go
@@ -39,11 +39,6 @@ func Home(ctx *middleware.Context) {
return
}
- if setting.OauthService != nil {
- ctx.Data["OauthEnabled"] = true
- ctx.Data["OauthService"] = setting.OauthService
- }
-
ctx.Data["PageIsHome"] = true
ctx.HTML(200, HOME)
}