forked from apache/superset
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: adds TLS certificate validation option for SMTP (apache#21272)
(cherry picked from commit 9fd7520)
- Loading branch information
1 parent
ec8cafa
commit b20f9cf
Showing
4 changed files
with
52 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -973,7 +973,9 @@ def CSV_TO_HIVE_UPLOAD_DIRECTORY_FUNC( # pylint: disable=invalid-name | |
SMTP_PORT = 25 | ||
SMTP_PASSWORD = "superset" | ||
SMTP_MAIL_FROM = "[email protected]" | ||
|
||
# If True creates a default SSL context with ssl.Purpose.CLIENT_AUTH using the | ||
# default system root CA certificates. | ||
SMTP_SSL_SERVER_AUTH = False | ||
ENABLE_CHUNK_ENCODING = False | ||
|
||
# Whether to bump the logging level to ERROR on the flask_appbuilder package | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters