add mail_use_tls env var

This commit is contained in:
Daniel afx 2022-02-05 05:04:45 +02:00
parent 1b6d3e5901
commit 2f0fca383d
2 changed files with 3 additions and 1 deletions

View file

@ -18,3 +18,4 @@ MAIL_PASSWORD=kur
MAIL_PORT=25
MAIL_SUBJECT_PREFIX=ForestNet
MAIL_ADMIN=daniel@deflax.net
MAIL_USE_TLS=1

View file

@ -16,3 +16,4 @@ class Config(object):
MAIL_PORT = f"{os.getenv('MAIL_PORT')}"
MAIL_SUBJECT_PREFIX = f"{os.getenv('MAIL_SUBJECT_PREFIX')}"
MAIL_ADMIN = f"{os.getenv('MAIL_ADMIN')}"
MAIL_USE_TLS = f"{os.getenv('MAIL_USE_TLS')}"