Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change: Default MAIL_USE_TLS to True (secure by default), update docs #409

Merged
merged 1 commit into from
Aug 5, 2020

Conversation

0xdade
Copy link
Member

@0xdade 0xdade commented Aug 5, 2020

This closes #407 by updating documentation around the MAIL_USE_TLS and MAIL_USE_SSL options. Additionally, setting the default MAIL_USE_TLS to True makes sense since MAIL_PORT defaults to 587 now.

This closes #407 by updating documentation around the MAIL_USE_TLS and MAIL_USE_SSL options. Additionally, setting the default MAIL_USE_TLS to True makes sense since MAIL_PORT defaults to 587 now.
@0xdade 0xdade added server affecting natlas-server documentation Issues involving not enough or incorrect documentation labels Aug 5, 2020
@0xdade 0xdade requested a review from ajacques August 5, 2020 05:54
@codeclimate
Copy link

codeclimate bot commented Aug 5, 2020

Code Climate has analyzed commit c15323d and detected 0 issues on this pull request.

View more on Code Climate.

@0xdade 0xdade merged commit fcf0549 into natlas:main Aug 5, 2020
@@ -66,7 +66,8 @@ class Config(object):
# MAIL SETTINGS
MAIL_SERVER = os.environ.get("MAIL_SERVER", None)
MAIL_PORT = int(os.environ.get("MAIL_PORT", 587))
MAIL_USE_TLS = casted_bool(os.environ.get("MAIL_USE_TLS", False))
MAIL_USE_TLS = casted_bool(os.environ.get("MAIL_USE_TLS", True))
MAIL_USE_SSl = casted_bool(os.environ.get("MAIL_USE_SSL", False))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a typo in here

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know what you're talking about

MAIL_USE_SSL = casted_bool(os.environ.get("MAIL_USE_SSL", False))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Issues involving not enough or incorrect documentation server affecting natlas-server
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SSLError: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:1123)
2 participants