summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2014-12-05 15:51:10 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2014-12-05 15:51:10 +0000
commit4a556c72866f2971036c7297496366bd3f95948d (patch)
treecead1e9fb6d227ea418abe2843f082a8f9aeee15
parent675c1876b484978b0ff79ce5875ddde0ca262ef0 (diff)
downloadinfrastructure-4a556c72866f2971036c7297496366bd3f95948d.tar.gz
openid_provider: Add 'Register' link for users who aren't logged in
Previously you had to click 'Log in' in order to be able to register, which seems a bit counterintuitive.
-rw-r--r--baserock_openid_provider/templates/base.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/baserock_openid_provider/templates/base.html b/baserock_openid_provider/templates/base.html
index 26af1a30..6b1a4bc0 100644
--- a/baserock_openid_provider/templates/base.html
+++ b/baserock_openid_provider/templates/base.html
@@ -17,7 +17,8 @@
(<a href="{% url 'auth_logout' %}">{% trans "Log out" %}</a> |
<a href="{% url 'auth_password_change' %}">{% trans "Change password" %}</a>)
{% else %}
- <a href="{% url 'auth_login' %}">{% trans "Log in" %}</a>
+ <a href="{% url 'auth_login' %}">{% trans "Log in" %}</a> |
+ <a href="{% url 'registration_register' %}">{% trans "Register" %}</a>
{% endif %}
<hr />
{% endblock %}