Skip to content

Commit

Permalink
feat: load email auth vars from environment
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquimds committed Mar 11, 2024
1 parent c6886db commit 93be052
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions local_intelligence_hub/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,9 @@
# Sending messages
EMAIL_HOST = env.str("EMAIL_HOST", "localhost")
EMAIL_PORT = env.str("EMAIL_PORT", 1025)
EMAIL_HOST_USER = env.str("EMAIL_HOST_USER", False)
EMAIL_HOST_PASSWORD = env.str("EMAIL_HOST_PASSWORD", False)
EMAIL_USE_TLS = env.bool("EMAIL_USE_TLS", False)
DEFAULT_FROM_EMAIL = env.str("DEFAULT_FROM_EMAIL", "webmaster@localhost")

POSTCODES_IO_URL = "https://postcodes.commonknowledge.coop"
Expand Down

0 comments on commit 93be052

Please sign in to comment.