Skip to content
Snippets Groups Projects
Commit abc03164 authored by Ben Adida's avatar Ben Adida
Browse files

tls email

parent 03ecf2b7
Branches
Tags
No related merge requests found
......@@ -194,7 +194,7 @@ EMAIL_HOST = get_from_env('EMAIL_HOST', 'localhost')
EMAIL_PORT = int(get_from_env('EMAIL_PORT', "2525"))
EMAIL_HOST_USER = get_from_env('EMAIL_HOST_USER', '')
EMAIL_HOST_PASSWORD = get_from_env('EMAIL_HOST_PASSWORD', '')
EMAIL_USE_TLS = False
EMAIL_USE_TLS = (get_from_env('EMAIL_USE_TLS', '0') == '1')
# set up logging
import logging
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment