Skip to content

Commit

Permalink
fix: ensure that email addresses are never unset
Browse files Browse the repository at this point in the history
  • Loading branch information
philtweir committed Oct 3, 2024
1 parent 6147636 commit 118f71f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions settings_docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
COMPRESS_OFFLINE = COMPRESS_OFFLINE and COMPRESS_OFFLINE.lower() == "true"
COMPRESS_ENABLED = os.getenv("COMPRESS_ENABLED")
COMPRESS_ENABLED = COMPRESS_ENABLED and COMPRESS_ENABLED.lower() == "true"
EMAIL_BACKEND = os.getenv("EMAIL_BACKEND") or EMAIL_BACKEND
EMAIL_USE_TLS = os.getenv("EMAIL_USE_TLS") or EMAIL_USE_TLS
EMAIL_HOST = os.getenv("EMAIL_HOST") or EMAIL_HOST
EMAIL_HOST_USER = os.getenv("EMAIL_HOST_USER") or EMAIL_HOST_USER
EMAIL_HOST_PASSWORD = os.getenv("EMAIL_HOST_PASSWORD") or EMAIL_HOST_PASSWORD
EMAIL_PORT = os.getenv("EMAIL_PORT") or EMAIL_PORT
EMAIL_BACKEND = os.getenv("EMAIL_BACKEND")
EMAIL_USE_TLS = os.getenv("EMAIL_USE_TLS")
EMAIL_HOST = os.getenv("EMAIL_HOST")
EMAIL_HOST_USER = os.getenv("EMAIL_HOST_USER")
EMAIL_HOST_PASSWORD = os.getenv("EMAIL_HOST_PASSWORD")
EMAIL_PORT = os.getenv("EMAIL_PORT")

# Cover both forms, the first being deprecated
ARCHES_NAMESPACE_FOR_DATA_EXPORT = os.getenv("ARCHES_NAMESPACE_FOR_DATA_EXPORT", "http://arches:8000/")
Expand Down

0 comments on commit 118f71f

Please sign in to comment.