Commit f8ec669e authored by Chris Reffett's avatar Chris Reffett
Browse files

Put registration behind the login wall

parent 9588e7af
......@@ -17,8 +17,17 @@ ULife groups, and student organizations. Access is moderated by SRCT
{% if user.is_authenticated %}
You can <a href="{% url 'signup' %}">sign up</a> for use.
{% else %}
Please <a href="{% url 'go_login' %}">log in</a> in order to submit an access
{% endif %}
{% endblock %}
......@@ -43,7 +43,7 @@ action="{% url 'django.contrib.auth.views.login' %}">
<p>You must be <a href="{% url 'signup' %}">registered</a> to use this
<p>You must be registered to use this service. Please log in in order to
submit a registration request.</p>
{% endblock %}
......@@ -179,6 +179,7 @@ def delete(request, short):
raise PermissionDenied()
def signup(request):
This view presents the user with a registration form. You can register
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment