Commit 6039421f authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

auto enable superuser account

parent 482e0322
...@@ -77,7 +77,7 @@ def signup(request): ...@@ -77,7 +77,7 @@ def signup(request):
send_account_created(request, user, auto_active=auto_active) send_account_created(request, user, auto_active=auto_active)
if not auto_active: if not auto_active and not user.is_superuser:
return account_is_pending_view(request, email=request.POST['email']) return account_is_pending_view(request, email=request.POST['email'])
username = user.username username = user.username
......
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