Skip to content

Commit

Permalink
Set default 'from' address for emails via env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
istride committed Jun 20, 2024
1 parent bd19b21 commit 3865a6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions iogt/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,7 @@
WAGTAILREDIRECTS_AUTO_CREATE = os.getenv('WAGTAILREDIRECTS_AUTO_CREATE', 'enable') == 'enable'
WAGTAILSVG_UPLOAD_FOLDER = "media"

DEFAULT_FROM_EMAIL = os.getenv("EMAIL_FROM", "IoGT <iogt@localhost>")
EMAIL_HOST = os.getenv("EMAIL_HOST")
EMAIL_HOST_PASSWORD = os.getenv("EMAIL_HOST_PASSWORD")
EMAIL_HOST_USER = os.getenv("EMAIL_HOST_USER")
Expand Down

0 comments on commit 3865a6d

Please sign in to comment.