Skip to content

Commit

Permalink
Fix test_email command to use new SSL setting
Browse files Browse the repository at this point in the history
This was missed in pull request makeplane#3732 and/or the command didn't exist yet then ...
  • Loading branch information
wiebe authored Mar 19, 2024
1 parent 53ddef1 commit ee04806
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apiserver/plane/db/management/commands/test_email.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def handle(self, *args, **options):
EMAIL_HOST_PASSWORD,
EMAIL_PORT,
EMAIL_USE_TLS,
EMAIL_USE_SSL,
EMAIL_FROM,
) = get_email_configuration()

Expand All @@ -32,6 +33,7 @@ def handle(self, *args, **options):
username=EMAIL_HOST_USER,
password=EMAIL_HOST_PASSWORD,
use_tls=EMAIL_USE_TLS == "1",
use_ssl=EMAIL_USE_SSL == "1",
timeout=30,
)
# Prepare email details
Expand Down

0 comments on commit ee04806

Please sign in to comment.