Commit d31baa9f authored by Zosman's avatar Zosman
Browse files

i dont remember.

parent 9c0abf24
Pipeline #454 passed with stage
in 7 minutes and 7 seconds
......@@ -30,7 +30,7 @@ SRCT Go • Account Blocked
{% endblock %}
<br />
<p>
If you belive this is in error please contact Go Admins.
If you believe this is an error, please contact the <a href="mailto:srct@gmu.edu">Go Admins</a>
<br />
<br/>
Thank you, and have a nice day!
......
......@@ -33,13 +33,13 @@ def index(request):
# If the user is blocked, redirect them to the blocked page.
# If the user is not authenticated, show them a public landing page.
if not request.user.is_authenticated():
return render(request, 'public_landing.html')
return render(request, 'public_landing.html')
# If the user isn't approved, don't give them any leeway.
elif not request.user.registereduser.approved:
if request.user.registereduser.blocked:
return render(request, 'blocked.html')
else:
return render(request, 'not_registered.html')
return render(request, 'not_registered.html')
url_form = URLForm(host=request.META.get('HTTP_HOST')) # unbound form
......
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