From a52729daaef316f0d675f0323df0e685261fbf4b Mon Sep 17 00:00:00 2001 From: tofuwabohu Date: Fri, 9 Apr 2021 13:28:58 +0200 Subject: [PATCH] adds SSL params --- bookwyrm/settings.py | 1 + celerywyrm/settings.py | 1 + 2 files changed, 2 insertions(+) diff --git a/bookwyrm/settings.py b/bookwyrm/settings.py index 52dbc2b20..146d4fff4 100644 --- a/bookwyrm/settings.py +++ b/bookwyrm/settings.py @@ -25,6 +25,7 @@ EMAIL_PORT = env("EMAIL_PORT", 587) EMAIL_HOST_USER = env("EMAIL_HOST_USER") EMAIL_HOST_PASSWORD = env("EMAIL_HOST_PASSWORD") EMAIL_USE_TLS = env.bool("EMAIL_USE_TLS", True) +EMAIL_USE_SSL = env.bool("EMAIL_USE_SSL", False) DEFAULT_FROM_EMAIL = "admin@{:s}".format(env("DOMAIN")) # Build paths inside the project like this: os.path.join(BASE_DIR, ...) diff --git a/celerywyrm/settings.py b/celerywyrm/settings.py index 7947cb1c4..a9f46f086 100644 --- a/celerywyrm/settings.py +++ b/celerywyrm/settings.py @@ -21,6 +21,7 @@ EMAIL_PORT = env("EMAIL_PORT") EMAIL_HOST_USER = env("EMAIL_HOST_USER") EMAIL_HOST_PASSWORD = env("EMAIL_HOST_PASSWORD") EMAIL_USE_TLS = env.bool("EMAIL_USE_TLS") +EMAIL_USE_SSL = env.bool("EMAIL_USE_SSL") # Build paths inside the project like this: os.path.join(BASE_DIR, ...)