diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-11-28 21:38:35 -0500 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-11-28 21:38:35 -0500 |
commit | db4951bc61bb0b17edb759d01b1750a60e572fcc (patch) | |
tree | 9639414493155b2a0502cb7409b0f138c1de0b19 /templates/user/auth | |
parent | d6132aaa88d0ef0bc261aab0a6915835d40b7372 (diff) | |
download | gitea-db4951bc61bb0b17edb759d01b1750a60e572fcc.tar.gz gitea-db4951bc61bb0b17edb759d01b1750a60e572fcc.zip |
mirror fix on oauth2
Diffstat (limited to 'templates/user/auth')
-rw-r--r-- | templates/user/auth/signin.tmpl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/user/auth/signin.tmpl b/templates/user/auth/signin.tmpl index 5474807714..78d6febb80 100644 --- a/templates/user/auth/signin.tmpl +++ b/templates/user/auth/signin.tmpl @@ -26,18 +26,16 @@ <button class="btn btn-green btn-large btn-radius">{{.i18n.Tr "sign_in"}}</button> {{if not .IsSocialLogin}}<a href="{{AppSubUrl}}/user/forget_password">{{.i18n.Tr "auth.forget_password"}}</a>{{end}} </div> - {{if not .IsSocialLogin}} <div class="field"> <label></label> <a href="{{AppSubUrl}}/user/sign_up">{{.i18n.Tr "auth.sign_up_now" | Str2html}}</a> </div> - {{if .OauthEnabled}} + {{if and (not .IsSocialLogin) .OauthEnabled}} <hr/> <div id="sign-social" class="text-center social-buttons"> {{template "ng/base/social" .}} </div> {{end}} - {{end}} </div> </form> </div> |