summaryrefslogtreecommitdiffstats
path: root/templates/user/auth
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/user/auth
parent562e47f31ced80adc6ffa629e2d8459465c369e9 (diff)
downloadgitea-3fb1b6a608625067a76ba90f9855d48c4d6555bd.tar.gz
gitea-3fb1b6a608625067a76ba90f9855d48c4d6555bd.zip
drop oauth2 feature support
Diffstat (limited to 'templates/user/auth')
-rw-r--r--templates/user/auth/signin.tmpl12
1 files changed, 2 insertions, 10 deletions
diff --git a/templates/user/auth/signin.tmpl b/templates/user/auth/signin.tmpl
index 259c5f7d8f..a1e30e95cb 100644
--- a/templates/user/auth/signin.tmpl
+++ b/templates/user/auth/signin.tmpl
@@ -5,7 +5,7 @@
<form class="ui form" action="{{.Link}}" method="post">
{{.CsrfTokenHtml}}
<h3 class="ui top attached header">
- {{if .IsSocialLogin}}{{.i18n.Tr "social_sign_in" | Str2html}}{{else}}{{.i18n.Tr "sign_in"}}{{end}}
+ {{.i18n.Tr "sign_in"}}
</h3>
<div class="ui attached segment">
{{template "base/alert" .}}
@@ -17,7 +17,6 @@
<label for="password">{{.i18n.Tr "password"}}</label>
<input id="password" name="password" type="password" value="{{.password}}" required>
</div>
- {{if not .IsSocialLogin}}
<div class="inline field">
<label></label>
<div class="ui checkbox">
@@ -25,12 +24,11 @@
<input name="remember" type="checkbox">
</div>
</div>
- {{end}}
<div class="inline field">
<label></label>
<button class="ui green button">{{.i18n.Tr "sign_in"}}</button>
- {{if not .IsSocialLogin}}<a href="{{AppSubUrl}}/user/forget_password">{{.i18n.Tr "auth.forget_password"}}</a>{{end}}
+ <a href="{{AppSubUrl}}/user/forget_password">{{.i18n.Tr "auth.forget_password"}}</a>
</div>
{{if .ShowRegistrationButton}}
<div class="inline field">
@@ -38,12 +36,6 @@
<a href="{{AppSubUrl}}/user/sign_up">{{.i18n.Tr "auth.sign_up_now" | Str2html}}</a>
</div>
{{end}}
- {{if and (not .IsSocialLogin) .OauthEnabled}}
- <div class="inline field">
- <label></label>
- {{template "base/social" .}}
- </div>
- {{end}}
</div>
</form>
</div>