aboutsummaryrefslogtreecommitdiff
path: root/templates/user
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-04-07 12:56:40 -0400
committerUnknown <joe2010xtmf@163.com>2014-04-07 12:56:40 -0400
commit9ea9818d3255e5b08293205e278240dece36687d (patch)
tree51c6a65586843082f451ee1e93082fec5784ccd2 /templates/user
parent05fb34eacdbec59fb8bcdf96c82c0855e6ec78d2 (diff)
Fix issue with log in with GitHub but need more error handle after
Diffstat (limited to 'templates/user')
-rw-r--r--templates/user/signin.tmpl5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/user/signin.tmpl b/templates/user/signin.tmpl
index 43f47e41..eb4cb9cc 100644
--- a/templates/user/signin.tmpl
+++ b/templates/user/signin.tmpl
@@ -43,9 +43,12 @@
</div>
</div>
+ {{if .OauthEnabled}}
<div class="form-group text-center" id="social-login">
- <a class="btn btn-danger btn-lg" href="/user/sign_up">Register new account</a>
+ <h4>Log In with Social Accounts</h4>
+ {{if .OauthGitHubEnabled}}<a href="/user/login/github"><i class="fa fa-github-square fa-3x"></i></a>{{end}}
</div>
+ {{end}}
</form>
</div>
{{template "base/footer" .}} \ No newline at end of file