Commit 052e28ea authored by Zosman's avatar Zosman
Browse files

this commit closes #69

parent d9362d59
Pipeline #472 passed with stage
in 7 minutes and 38 seconds
......@@ -37,7 +37,7 @@ def index(request):
# 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')
return render(request, 'banned.html')
else:
return render(request, 'not_registered.html')
......
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