From 4a50d90d96d57fd7547532cd55b17c17aa6c393f Mon Sep 17 00:00:00 2001 From: Guillaume Vincent Date: Tue, 18 Oct 2016 19:39:43 +0200 Subject: [PATCH] add DEFAULT_FROM_EMAIL env variable --- lesspass/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lesspass/settings.py b/lesspass/settings.py index 8e6bcd7..21bd758 100644 --- a/lesspass/settings.py +++ b/lesspass/settings.py @@ -183,6 +183,7 @@ if DEBUG: EMAIL_BACKEND = os.getenv('EMAIL_BACKEND', 'django.core.mail.backends.console.EmailBackend') else: EMAIL_BACKEND = os.getenv('EMAIL_BACKEND', 'django.core.mail.backends.smtp.EmailBackend') +DEFAULT_FROM_EMAIL = os.getenv('DEFAULT_FROM_EMAIL', 'contact@lesspass.com') EMAIL_HOST = os.getenv('EMAIL_HOST', 'localhost') EMAIL_HOST_USER = os.getenv('EMAIL_HOST_USER', '') EMAIL_HOST_PASSWORD = os.getenv('EMAIL_HOST_PASSWORD', '')