Skip to content

Commit

Permalink
Split FOI_MAIL_DOMAIN env var by comma
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanw committed Oct 19, 2023
1 parent 6b40eb9 commit 67c0ea8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion fragdenstaat_de/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,10 @@ def TEMPLATES(self):
EMAIL_PORT = 25
# FOI_EMAIL_ACCOUNT_NAME
# FOI_EMAIL_ACCOUNT_PASSWORD
FOI_EMAIL_DOMAIN = env("FOI_MAIL_DOMAIN", ["fragdenstaat.de", "echtemail.de"])
FOI_EMAIL_DOMAIN = [
x.strip()
for x in env("FOI_MAIL_DOMAIN", "fragdenstaat.de,echtemail.de").split(",")
]
FOI_MAIL_SERVER_HOST = env("FOI_MAIL_SERVER_HOST", "mail.fragdenstaat.de")
FOI_EMAIL_FIXED_FROM_ADDRESS = False
FOI_EMAIL_FUNC = None
Expand Down

0 comments on commit 67c0ea8

Please sign in to comment.