CHANGE: New user signups now require admin approval

Given that I intend to reveal much more data to new users this seems necessary...
This commit is contained in:
2020-01-11 18:18:08 +00:00
parent 68af9c8779
commit 479977ef58
6 changed files with 40 additions and 4 deletions

View File

@@ -41,7 +41,7 @@ def login(request, **kwargs):
else:
from django.contrib.auth.views import login
return login(request)
return login(request, authentication_form=forms.CheckApprovedForm)
# This view should be exempt from requiring CSRF token.