Authorize login by email
This commit is contained in:
parent
21e1a361b8
commit
0c9aae7e66
1 changed files with 1 additions and 0 deletions
|
|
@ -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'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue