mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 03:21:05 +00:00
fix to pass register pytest
This commit is contained in:
parent
3e9cb2acb1
commit
74a1697cda
1 changed files with 0 additions and 2 deletions
|
@ -56,7 +56,6 @@ class Register(View):
|
||||||
localname = form.data["localname"].strip()
|
localname = form.data["localname"].strip()
|
||||||
email = form.data["email"]
|
email = form.data["email"]
|
||||||
password = form.data["password"]
|
password = form.data["password"]
|
||||||
answer = form.data["answer"]
|
|
||||||
|
|
||||||
# make sure the email isn't blocked as spam
|
# make sure the email isn't blocked as spam
|
||||||
email_domain = email.split("@")[-1]
|
email_domain = email.split("@")[-1]
|
||||||
|
@ -69,7 +68,6 @@ class Register(View):
|
||||||
username,
|
username,
|
||||||
email,
|
email,
|
||||||
password,
|
password,
|
||||||
answer=answer,
|
|
||||||
localname=localname,
|
localname=localname,
|
||||||
local=True,
|
local=True,
|
||||||
deactivation_reason="pending" if settings.require_confirm_email else None,
|
deactivation_reason="pending" if settings.require_confirm_email else None,
|
||||||
|
|
Loading…
Reference in a new issue