aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config.env.sample1
-rw-r--r--src/pharos_dashboard/settings.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/config.env.sample b/config.env.sample
index edd2bf0..c36e52a 100644
--- a/config.env.sample
+++ b/config.env.sample
@@ -31,3 +31,4 @@ EMAIL_HOST=
EMAIL_PORT=
EMAIL_HOST_USER=
EMAIL_HOST_PASSWORD=
+DEFAULT_FROM_EMAIL=webmaster@localhost
diff --git a/src/pharos_dashboard/settings.py b/src/pharos_dashboard/settings.py
index 361c4a1..0ac5479 100644
--- a/src/pharos_dashboard/settings.py
+++ b/src/pharos_dashboard/settings.py
@@ -196,3 +196,4 @@ EMAIL_PORT = os.environ['EMAIL_PORT']
EMAIL_HOST_USER = os.environ['EMAIL_HOST_USER']
EMAIL_HOST_PASSWORD = os.environ['EMAIL_HOST_PASSWORD']
EMAIL_USE_TLS=True
+DEFAULT_EMAIL_FROM = os.environ.get('DEFAULT_EMAIL_FROM', 'webmaster@localhost')