aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorPjotr Prins2018-04-16 15:02:16 +0000
committerPjotr Prins2018-04-16 15:02:16 +0000
commitebbc8c67c13b44df98ea3c2b355e86f77572543b (patch)
tree1e7677fa1fa210a2a957855578cd3ac3a47b720b /wqflask
parentf8df8836e33ad226aaa7d2f8874d7a1a08a670dc (diff)
downloadgenenetwork2-ebbc8c67c13b44df98ea3c2b355e86f77572543b.tar.gz
login messages improved
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/templates/new_security/login_user.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/wqflask/wqflask/templates/new_security/login_user.html b/wqflask/wqflask/templates/new_security/login_user.html
index 4a857c60..27b20ebf 100644
--- a/wqflask/wqflask/templates/new_security/login_user.html
+++ b/wqflask/wqflask/templates/new_security/login_user.html
@@ -31,16 +31,19 @@
<div>
{% if external_login["github"]: %}
<a href="{{external_login['github']}}" title="Login with GitHub" class="btn btn-info btn-group">Login with Github</a>
+ {% else %}
+ <p>Github login is not available right now</p>
{% endif %}
{% if external_login["orcid"]: %}
<a href="{{external_login['orcid']}}" title="Login with ORCID" class="btn btn-info btn-group">Login with ORCID</a>
+ {% else %}
+ <p>ORCID login is not available right now</p>
{% endif %}
</div>
{% else: %}
<div class="alert alert-warning">
- <p>You cannot login with external services at this time.<br />
- Please try again later.</p>
+ <p>Sorry, you cannot login with Github or ORCID at this time.</p>
</div>
{% endif %}
<hr />