forked from github/plane
dev: disable ssl for emails
This commit is contained in:
parent
53b1a0a5c6
commit
1d273181ec
@ -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(
|
||||
|
@ -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
|
||||
|
@ -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(
|
||||
|
@ -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(
|
||||
|
@ -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(
|
||||
|
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user