From 24d4b031e47fd396a27d97f8fcb2054fcaf3d381 Mon Sep 17 00:00:00 2001 From: sarayourfriend <24264157+sarayourfriend@users.noreply.github.com> Date: Wed, 4 May 2022 22:23:04 +0100 Subject: [PATCH] Add DEFAULT_FROM_EMAIL setting handling (#677) --- api/catalog/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/api/catalog/settings.py b/api/catalog/settings.py index 194927b36..802027561 100644 --- a/api/catalog/settings.py +++ b/api/catalog/settings.py @@ -299,6 +299,7 @@ EMAIL_HOST_PASSWORD = config("EMAIL_HOST_PASSWORD", default="") EMAIL_SUBJECT_PREFIX = "[noreply]" EMAIL_USE_TLS = True +DEFAULT_FROM_EMAIL = config("DEFAULT_FROM_EMAIL", default="") if EMAIL_HOST_USER or EMAIL_HOST_PASSWORD: EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend"