From 6481ce311d809cd8a85c08e3cfa3f13258e1309a Mon Sep 17 00:00:00 2001 From: Anthony LC Date: Tue, 13 Aug 2024 14:24:50 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B(backend)=20enable=20SSL=20when=20s?= =?UTF-8?q?ending=20email?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Email settings were wrongly configured. It leed to unsent email and timeout response from the backend server. This commit fixes the issue by enabling SSL when sending email. --- CHANGELOG.md | 1 + src/backend/impress/settings.py | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e209fac..ffb76ad3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ and this project adheres to - 🐛(y-webrtc) fix prob connection #147 - ⚡️(frontend) improve select share stability #159 +- 🐛(backend) enable SSL when sending email #165 ## Changed diff --git a/src/backend/impress/settings.py b/src/backend/impress/settings.py index 787f4cb6..f91fd667 100755 --- a/src/backend/impress/settings.py +++ b/src/backend/impress/settings.py @@ -278,6 +278,7 @@ class Base(Configuration): EMAIL_HOST_PASSWORD = values.Value(None) EMAIL_PORT = values.PositiveIntegerValue(None) EMAIL_USE_TLS = values.BooleanValue(False) + EMAIL_USE_SSL = values.BooleanValue(False) EMAIL_FROM = values.Value("from@example.com") AUTH_USER_MODEL = "core.User"