Merge pull request 'mail from population to the config object' (#2) from config/mail-config into main

Reviewed-on: https://codeberg.org/saint/pyfedi/pulls/2
This commit is contained in:
saint 2024-02-25 09:06:15 +00:00
commit 116a3aa0a9

View file

@ -16,6 +16,7 @@ class Config(object):
MAIL_USE_TLS = os.environ.get('MAIL_USE_TLS') is not None
MAIL_USERNAME = os.environ.get('MAIL_USERNAME')
MAIL_PASSWORD = os.environ.get('MAIL_PASSWORD')
MAIL_FROM = os.environ.get('MAIL_FROM')
RECAPTCHA_PUBLIC_KEY = os.environ.get("RECAPTCHA_PUBLIC_KEY")
RECAPTCHA_PRIVATE_KEY = os.environ.get("RECAPTCHA_PRIVATE_KEY")
MODE = os.environ.get('MODE') or 'development'