From 74a1697cda9a9e9af0107a7844d80fde204ce876 Mon Sep 17 00:00:00 2001 From: corentin-feys Date: Sun, 13 Mar 2022 23:04:14 +0100 Subject: [PATCH] fix to pass register pytest --- bookwyrm/views/landing/register.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/bookwyrm/views/landing/register.py b/bookwyrm/views/landing/register.py index 0e16f832..86cd96ea 100644 --- a/bookwyrm/views/landing/register.py +++ b/bookwyrm/views/landing/register.py @@ -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,