Fix missing ACCOUNT_EMAIL_REQUIRED for email type

This commit is contained in:
roushikk 2025-03-31 15:58:59 +05:30 committed by GitHub
parent 2504a349af
commit 32fddb645b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -343,6 +343,8 @@ ACCOUNT_SIGNUP_FIELDS = ["email*", "username*", "password1*", "password2*"]
ACCOUNT_SIGNUP_FIELDS = ["email*", "password1*", "password2*"]
# https://docs.allauth.org/en/latest/account/configuration.html
ACCOUNT_USER_MODEL_USERNAME_FIELD = None
# https://docs.allauth.org/en/latest/account/configuration.html
ACCOUNT_EMAIL_REQUIRED = True
{%- endif %}
# https://docs.allauth.org/en/latest/account/configuration.html
ACCOUNT_EMAIL_VERIFICATION = "mandatory"