Skip to content

Commit 210886a

Browse files
committed
stop using deprecated allauth fields
1 parent d9761e3 commit 210886a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/bornhack/settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,11 @@
116116
]
117117

118118
ACCOUNT_LOGIN_METHODS = {"email"}
119-
ACCOUNT_EMAIL_REQUIRED = True
120119
ACCOUNT_EMAIL_VERIFICATION = True
121120
ACCOUNT_EMAIL_SUBJECT_PREFIX = "[bornhack] "
122-
ACCOUNT_USERNAME_REQUIRED = False
123121
ACCOUNT_SIGNUP_FORM_HONEYPOT_FIELD = "gender"
122+
ACCOUNT_SIGNUP_FIELDS = ["email*", "password1*", "password2*"]
123+
124124
# include captcha field in signup form
125125
ACCOUNT_FORMS = {"signup": "bornhack.forms.AllAuthSignupCaptchaForm"}
126126
LOGIN_REDIRECT_URL = "/"

0 commit comments

Comments
 (0)