mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
Fix test_email command to use new SSL setting (#3988)
This was missed in pull request #3732 and/or the command didn't exist yet then ...
This commit is contained in:
parent
6a245e121a
commit
0f79c6d7d8
@ -23,6 +23,7 @@ class Command(BaseCommand):
|
|||||||
EMAIL_HOST_PASSWORD,
|
EMAIL_HOST_PASSWORD,
|
||||||
EMAIL_PORT,
|
EMAIL_PORT,
|
||||||
EMAIL_USE_TLS,
|
EMAIL_USE_TLS,
|
||||||
|
EMAIL_USE_SSL,
|
||||||
EMAIL_FROM,
|
EMAIL_FROM,
|
||||||
) = get_email_configuration()
|
) = get_email_configuration()
|
||||||
|
|
||||||
@ -32,6 +33,7 @@ class Command(BaseCommand):
|
|||||||
username=EMAIL_HOST_USER,
|
username=EMAIL_HOST_USER,
|
||||||
password=EMAIL_HOST_PASSWORD,
|
password=EMAIL_HOST_PASSWORD,
|
||||||
use_tls=EMAIL_USE_TLS == "1",
|
use_tls=EMAIL_USE_TLS == "1",
|
||||||
|
use_ssl=EMAIL_USE_SSL == "1",
|
||||||
timeout=30,
|
timeout=30,
|
||||||
)
|
)
|
||||||
# Prepare email details
|
# Prepare email details
|
||||||
|
Loading…
Reference in New Issue
Block a user