Authorize login by email

This commit is contained in:
Alexandre Iooss 2021-10-11 13:40:34 +02:00
parent 21e1a361b8
commit 0c9aae7e66

View file

@ -193,6 +193,7 @@ SITE_ID = 1
# Allauth configuration # Allauth configuration
ACCOUNT_EMAIL_REQUIRED = True ACCOUNT_EMAIL_REQUIRED = True
ACCOUNT_EMAIL_VERIFICATION = "mandatory" ACCOUNT_EMAIL_VERIFICATION = "mandatory"
ACCOUNT_AUTHENTICATION_METHOD = "username_email"
# Use Bootstrap forms # Use Bootstrap forms
CRISPY_TEMPLATE_PACK = 'bootstrap4' CRISPY_TEMPLATE_PACK = 'bootstrap4'