Fixes confirm email slow and adds test
This commit is contained in:
parent
6a949c24e2
commit
a7e6919b96
3 changed files with 29 additions and 1 deletions
|
@ -74,6 +74,7 @@ class Register(View):
|
|||
password,
|
||||
localname=localname,
|
||||
local=True,
|
||||
allow_reactivation=settings.require_confirm_email,
|
||||
deactivation_reason="pending" if settings.require_confirm_email else None,
|
||||
is_active=not settings.require_confirm_email,
|
||||
preferred_timezone=preferred_timezone,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue