Email confirmation email

This commit is contained in:
Mouse Reeve
2021-08-06 15:38:37 -07:00
parent 3e2f1806e9
commit 247a7f7489
10 changed files with 72 additions and 6 deletions

View File

@@ -24,6 +24,9 @@ CELERY_ACCEPT_CONTENT = ["application/json"]
CELERY_TASK_SERIALIZER = "json"
CELERY_RESULT_SERIALIZER = "json"
# make users confirm their email addresses after registration
CONFIRM_EMAIL = env("CONFIRM_EMAIL", True)
# email
EMAIL_BACKEND = env("EMAIL_BACKEND", "django.core.mail.backends.smtp.EmailBackend")
EMAIL_HOST = env("EMAIL_HOST")