EMAL_USE_SSL should be default False in the Docker config

this is what makes sense given that:

* it's the lesser used of the to EMAIL_USE_xxx variables
* the two settings are mutually exclusive

This was simply wrong-when-introduced in 921d5bd4a3

See #86 (recent discussion of someone running into a related problem).
This commit is contained in:
Klaas van Schelven
2025-04-24 21:10:56 +02:00
parent cddd4f2c02
commit 7c3c19b6c8

View File

@@ -102,7 +102,7 @@ if os.getenv("EMAIL_HOST"):
EMAIL_HOST_PASSWORD = os.getenv("EMAIL_HOST_PASSWORD")
EMAIL_PORT = int(os.getenv("EMAIL_PORT", 587))
EMAIL_USE_TLS = os.getenv("EMAIL_USE_TLS", "True").lower() in ("true", "1", "yes")
EMAIL_USE_SSL = os.getenv("EMAIL_USE_SSL", "True").lower() in ("true", "1", "yes")
EMAIL_USE_SSL = os.getenv("EMAIL_USE_SSL", "False").lower() in ("true", "1", "yes")
else:
# print("WARNING: EMAIL_HOST not set; email will not be sent")
EMAIL_BACKEND = "bugsink.email_backends.QuietConsoleEmailBackend"