From 4a1c0a5cdc9f110df9c1c3f9616c127e43589b53 Mon Sep 17 00:00:00 2001 From: realaravinth Date: Mon, 4 Jul 2022 14:55:46 +0530 Subject: [PATCH] feat: add EMAIL_SENDER_ADDRESS to settings.py --- dashboard/local_settings.ci.py | 1 + dashboard/local_settings.example.py | 1 + dashboard/settings.py | 1 + 3 files changed, 3 insertions(+) diff --git a/dashboard/local_settings.ci.py b/dashboard/local_settings.ci.py index 5b0dde8..b23604b 100644 --- a/dashboard/local_settings.ci.py +++ b/dashboard/local_settings.ci.py @@ -56,6 +56,7 @@ PAYMENT_VARIANTS = { HOSTEA = { "SOURCE_CODE": "https://gitea.hostea.org/Hostea/dashboard", "INSTANCE_MAINTAINER_CONTACT": "contact@hostea.example.org", + "EMAIL_SENDER_ADDRESS": "no-reply@hostea.org", "ACCOUNTS": { "MAX_VERIFICATION_TOLERANCE_PERIOD": 60 * 60 * 24, # in seconds "SUDO_TTL": 60 * 5, diff --git a/dashboard/local_settings.example.py b/dashboard/local_settings.example.py index 5afc69f..3fbe4a6 100644 --- a/dashboard/local_settings.example.py +++ b/dashboard/local_settings.example.py @@ -55,6 +55,7 @@ PAYMENT_VARIANTS = { HOSTEA = { "SOURCE_CODE": "https://gitea.hostea.org/Hostea/dashboard", "INSTANCE_MAINTAINER_CONTACT": "contact@hostea.example.org", + "EMAIL_SENDER_ADDRESS": "no-reply@hostea.org", "ACCOUNTS": { "MAX_VERIFICATION_TOLERANCE_PERIOD": 60 * 60 * 24, # in seconds "SUDO_TTL": 60 * 5, diff --git a/dashboard/settings.py b/dashboard/settings.py index 315d708..0170cb9 100644 --- a/dashboard/settings.py +++ b/dashboard/settings.py @@ -170,6 +170,7 @@ PAYMENT_VARIANTS = { HOSTEA = { "SOURCE_CODE": "https://gitea.hostea.org/Hostea/dashboard", "RESTRICT_NEW_INTEGRATION_INSTALLATION": True, + "EMAIL_SENDER_ADDRESS": "no-reply@hostea.org", "INSTANCE_MAINTAINER_CONTACT": "contact@hostea.example.org", "ACCOUNTS": { "MAX_VERIFICATION_TOLERANCE_PERIOD": 60 * 60 * 24, # in seconds