Skip to content

Commit

Permalink
Fix test_email command to use new SSL setting (#3988)
Browse files Browse the repository at this point in the history
This was missed in pull request #3732 and/or the command didn't exist yet then ...
  • Loading branch information
wiebe committed Mar 20, 2024
1 parent 6a245e1 commit 0f79c6d
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 0f79c6d

Please sign in to comment.