mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-23 08:36:32 +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()
|
||||
email = form.data["email"]
|
||||
password = form.data["password"]
|
||||
answer = form.data["answer"]
|
||||
|
||||
# make sure the email isn't blocked as spam
|
||||
email_domain = email.split("@")[-1]
|
||||
|
@ -69,7 +68,6 @@ class Register(View):
|
|||
username,
|
||||
email,
|
||||
password,
|
||||
answer=answer,
|
||||
localname=localname,
|
||||
local=True,
|
||||
deactivation_reason="pending" if settings.require_confirm_email else None,
|
||||
|
|
Loading…
Reference in a new issue