mirror of
https://github.com/go-gitea/gitea
synced 2025-07-15 23:17:19 +00:00
drop oauth2 feature support
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user