forked from mirrors/bookwyrm
adds SSL params
This commit is contained in:
parent
4380cc98ed
commit
a52729daae
2 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,7 @@ EMAIL_PORT = env("EMAIL_PORT", 587)
|
|||
EMAIL_HOST_USER = env("EMAIL_HOST_USER")
|
||||
EMAIL_HOST_PASSWORD = env("EMAIL_HOST_PASSWORD")
|
||||
EMAIL_USE_TLS = env.bool("EMAIL_USE_TLS", True)
|
||||
EMAIL_USE_SSL = env.bool("EMAIL_USE_SSL", False)
|
||||
DEFAULT_FROM_EMAIL = "admin@{:s}".format(env("DOMAIN"))
|
||||
|
||||
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
|
||||
|
|
|
@ -21,6 +21,7 @@ EMAIL_PORT = env("EMAIL_PORT")
|
|||
EMAIL_HOST_USER = env("EMAIL_HOST_USER")
|
||||
EMAIL_HOST_PASSWORD = env("EMAIL_HOST_PASSWORD")
|
||||
EMAIL_USE_TLS = env.bool("EMAIL_USE_TLS")
|
||||
EMAIL_USE_SSL = env.bool("EMAIL_USE_SSL")
|
||||
|
||||
|
||||
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
|
||||
|
|
Loading…
Reference in a new issue