diff options
-rw-r--r-- | config/settings/base.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config/settings/base.py b/config/settings/base.py index f795a4f..7e1f44d 100644 --- a/config/settings/base.py +++ b/config/settings/base.py @@ -218,7 +218,8 @@ X_FRAME_OPTIONS = "DENY" # https://docs.djangoproject.com/en/dev/ref/settings/#email-backend EMAIL_BACKEND = env( "DJANGO_EMAIL_BACKEND", - default="django.core.mail.backends.smtp.EmailBackend", + # default="django.core.mail.backends.smtp.EmailBackend", + default="django.core.mail.backends.console.EmailBackend", ) # https://docs.djangoproject.com/en/dev/ref/settings/#email-timeout EMAIL_TIMEOUT = 5 @@ -305,7 +306,7 @@ ACCOUNT_USERNAME_REQUIRED = False # 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_VERIFICATION = "mandatory" +ACCOUNT_EMAIL_VERIFICATION = "mandatory" # https://docs.allauth.org/en/latest/account/configuration.html ACCOUNT_ADAPTER = "pyblackbird_cc.users.adapters.AccountAdapter" # https://docs.allauth.org/en/latest/account/forms.html |