mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 11:26:56 -08:00
default to noreply if MAIL_FROM is not set #221
This commit is contained in:
parent
e14dee66e2
commit
c179a28ca1
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ class Config(object):
|
|||
MAIL_USE_TLS = os.environ.get('MAIL_USE_TLS') is not None
|
||||
MAIL_USERNAME = os.environ.get('MAIL_USERNAME') or None
|
||||
MAIL_PASSWORD = os.environ.get('MAIL_PASSWORD') or None
|
||||
MAIL_FROM = os.environ.get('MAIL_FROM') or None
|
||||
MAIL_FROM = os.environ.get('MAIL_FROM') or 'noreply@' + os.environ.get('SERVER_NAME')
|
||||
MAIL_ERRORS = os.environ.get('MAIL_ERRORS') is not None
|
||||
ADMINS = os.environ.get('ADMINS')
|
||||
RECAPTCHA_PUBLIC_KEY = os.environ.get("RECAPTCHA_PUBLIC_KEY") or None
|
||||
|
|
Loading…
Reference in a new issue