diff options
author | Unknwon <u@gogs.io> | 2015-09-17 16:11:44 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-09-17 16:11:44 -0400 |
commit | 3fb1b6a608625067a76ba90f9855d48c4d6555bd (patch) | |
tree | 5cb663bd07a58bf830b01483465edebf938000ff /routers/home.go | |
parent | 562e47f31ced80adc6ffa629e2d8459465c369e9 (diff) | |
download | gitea-3fb1b6a608625067a76ba90f9855d48c4d6555bd.tar.gz gitea-3fb1b6a608625067a76ba90f9855d48c4d6555bd.zip |
drop oauth2 feature support
Diffstat (limited to 'routers/home.go')
-rw-r--r-- | routers/home.go | 5 |
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) } |