From 9184edf9b1cfb4a7e5854684430dc80fb537a3a9 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Fri, 30 Sep 2022 19:04:37 +0200 Subject: [PATCH] add mail configs --- ereuse_devicehub/config.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ereuse_devicehub/config.py b/ereuse_devicehub/config.py index 490336a7..0a5a06ae 100644 --- a/ereuse_devicehub/config.py +++ b/ereuse_devicehub/config.py @@ -86,3 +86,9 @@ class DevicehubConfig(Config): """Definition of path where save the documents of customers""" PATH_DOCUMENTS_STORAGE = config('PATH_DOCUMENTS_STORAGE', '/tmp/') JWT_PASS = config('JWT_PASS', '') + + MAIL_SERVER = config('MAIL_SERVER', '') + MAIL_USERNAME = config('MAIL_USERNAME', '') + MAIL_PASSWORD = config('MAIL_PASSWORD', '') + MAIL_PORT = config('MAIL_PORT', 587) + MAIL_USE_TLS = config('MAIL_USE_TLS', True)