summaryrefslogtreecommitdiffstats
path: root/routers/home.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-09-17 16:11:44 -0400
committerUnknwon <u@gogs.io>2015-09-17 16:11:44 -0400
commit3fb1b6a608625067a76ba90f9855d48c4d6555bd (patch)
tree5cb663bd07a58bf830b01483465edebf938000ff /routers/home.go
parent562e47f31ced80adc6ffa629e2d8459465c369e9 (diff)
downloadgitea-3fb1b6a608625067a76ba90f9855d48c4d6555bd.tar.gz
gitea-3fb1b6a608625067a76ba90f9855d48c4d6555bd.zip
drop oauth2 feature support
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)
}