Skip to content

Commit 956610d

Browse files
committed
refactor: accept TLS value from config
1 parent 6824ed6 commit 956610d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EnigmaAutomation/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,6 @@
275275
EMAIL_PORT = data["emails"]["EMAIL_PORT"]
276276
EMAIL_HOST_USER = data["emails"]["EMAIL_HOST_USER"]
277277
EMAIL_HOST_PASSWORD = data["emails"]["EMAIL_HOST_PASSWORD"]
278-
EMAIL_USE_TLS = True
278+
EMAIL_USE_TLS = data["emails"]["EMAIL_USE_TLS"]
279279
EMAIL_USE_SSL = data["emails"]["EMAIL_USE_SSL"]
280280
DEFAULT_FROM_EMAIL = data["emails"]["DEFAULT_FROM_EMAIL"]

0 commit comments

Comments
 (0)