aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base
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 /templates/base
parent562e47f31ced80adc6ffa629e2d8459465c369e9 (diff)
downloadgitea-3fb1b6a608625067a76ba90f9855d48c4d6555bd.tar.gz
gitea-3fb1b6a608625067a76ba90f9855d48c4d6555bd.zip
drop oauth2 feature support
Diffstat (limited to 'templates/base')
-rw-r--r--templates/base/social.tmpl4
1 files changed, 0 insertions, 4 deletions
diff --git a/templates/base/social.tmpl b/templates/base/social.tmpl
deleted file mode 100644
index 277b54fcbd..0000000000
--- a/templates/base/social.tmpl
+++ /dev/null
@@ -1,4 +0,0 @@
-{{if .OauthService.GitHub}}<a class="btn github" href="{{AppSubUrl}}/user/login/oauth2/github?next={{AppSubUrl}}/user/info/github"><i class="fa fa-github"></i>GitHub</a>{{end}}
-{{if .OauthService.Google}}<a class="btn google" href="{{AppSubUrl}}/user/login/oauth2/google?next={{AppSubUrl}}/user/info/google"><i class="fa fa-google"></i>Google +</a>{{end}}
-{{if .OauthService.Weibo}}<a class="btn weibo" href="{{AppSubUrl}}/user/login/oauth2/weibo?next={{AppSubUrl}}/user/info/weibo"><i class="fa fa-weibo"></i>新浪微博</a>{{end}}
-{{if .OauthService.Tencent}}<a class="btn qq" href="{{AppSubUrl}}/user/login/oauth2/qq?next={{AppSubUrl}}/user/info/qq"><i class="fa fa-qq"></i>腾讯 QQ&nbsp;</a>{{end}} \ No newline at end of file