Skip to content

Commit

Permalink
Merge pull request #22 from commonknowledge/feat/email-auth-env-vars
Browse files Browse the repository at this point in the history
feat: load email auth vars from environment
  • Loading branch information
joaquimds authored Mar 11, 2024
2 parents c6886db + 93be052 commit 050f7d5
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 050f7d5

Please sign in to comment.