From c6cc1b1728ce296d3e87aacd09f085e97b534ab7 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 7 Nov 2021 21:37:14 +0100 Subject: [PATCH] root: fix defaults for EMAIL_USE_TLS Signed-off-by: Jens Langhammer --- authentik/api/urls.py | 2 +- authentik/root/settings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/authentik/api/urls.py b/authentik/api/urls.py index 2786e5529..28fe27f81 100644 --- a/authentik/api/urls.py +++ b/authentik/api/urls.py @@ -4,7 +4,7 @@ from django.urls import include, path from authentik.api.v3.urls import urlpatterns as v3_urls urlpatterns = [ - # Remove in 2022.1 + # TODO: Remove in 2022.1 path("v2beta/", include(v3_urls)), path("v3/", include(v3_urls)), ] diff --git a/authentik/root/settings.py b/authentik/root/settings.py index 2bdd0ff1a..c3a972782 100644 --- a/authentik/root/settings.py +++ b/authentik/root/settings.py @@ -310,7 +310,7 @@ EMAIL_HOST = CONFIG.y("email.host") EMAIL_PORT = int(CONFIG.y("email.port")) EMAIL_HOST_USER = CONFIG.y("email.username") EMAIL_HOST_PASSWORD = CONFIG.y("email.password") -EMAIL_USE_TLS = CONFIG.y_bool("email.use_tls", True) +EMAIL_USE_TLS = CONFIG.y_bool("email.use_tls", False) EMAIL_USE_SSL = CONFIG.y_bool("email.use_ssl", False) EMAIL_TIMEOUT = int(CONFIG.y("email.timeout")) DEFAULT_FROM_EMAIL = CONFIG.y("email.from")