Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
Add DEFAULT_FROM_EMAIL setting handling (#677)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarayourfriend authored May 4, 2022
1 parent 92a3173 commit 24d4b03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/catalog/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 24d4b03

Please sign in to comment.