dev: disable ssl for emails

This commit is contained in:
pablohashescobar 2023-11-22 18:39:16 +05:30
parent 53b1a0a5c6
commit 1d273181ec
6 changed files with 0 additions and 42 deletions

View File

@ -81,13 +81,6 @@ def send_export_email(email, slug, csv_buffer):
os.environ.get("EMAIL_USE_TLS", "1"),
)
),
use_ssl=bool(
get_configuration_value(
instance_configuration,
"EMAIL_USE_SSL",
os.environ.get("EMAIL_USE_SSL", "0"),
)
),
)
msg = EmailMultiAlternatives(

View File

@ -65,13 +65,6 @@ def email_verification(first_name, email, token, current_site):
os.environ.get("EMAIL_USE_TLS", "1"),
)
),
use_ssl=bool(
get_configuration_value(
instance_configuration,
"EMAIL_USE_SSL",
os.environ.get("EMAIL_USE_SSL", "0"),
)
),
)
# Initiate email alternatives

View File

@ -60,13 +60,6 @@ def forgot_password(first_name, email, uidb64, token, current_site):
os.environ.get("EMAIL_USE_TLS", "1"),
)
),
use_ssl=bool(
get_configuration_value(
instance_configuration,
"EMAIL_USE_SSL",
os.environ.get("EMAIL_USE_SSL", "0"),
)
),
)
msg = EmailMultiAlternatives(

View File

@ -59,13 +59,6 @@ def magic_link(email, key, token, current_site):
os.environ.get("EMAIL_USE_TLS", "1"),
)
),
use_ssl=bool(
get_configuration_value(
instance_configuration,
"EMAIL_USE_SSL",
os.environ.get("EMAIL_USE_SSL", "0"),
)
),
)
msg = EmailMultiAlternatives(

View File

@ -74,13 +74,6 @@ def project_invitation(email, project_id, token, current_site, invitor):
os.environ.get("EMAIL_USE_TLS", "1"),
)
),
use_ssl=bool(
get_configuration_value(
instance_configuration,
"EMAIL_USE_SSL",
os.environ.get("EMAIL_USE_SSL", "0"),
)
),
)
msg = EmailMultiAlternatives(

View File

@ -83,13 +83,6 @@ def workspace_invitation(email, workspace_id, token, current_site, invitor):
os.environ.get("EMAIL_USE_TLS", "1"),
)
),
use_ssl=bool(
get_configuration_value(
instance_configuration,
"EMAIL_USE_SSL",
os.environ.get("EMAIL_USE_SSL", "0"),
)
),
)
msg = EmailMultiAlternatives(