mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-02-02 16:21:32 -08:00
changing hardcoded mail from to config var
This commit is contained in:
parent
8cb120bd9b
commit
adc55035da
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ def create_app(config_class=Config):
|
|||
secure = ()
|
||||
mail_handler = SMTPHandler(
|
||||
mailhost=(app.config['MAIL_SERVER'], app.config['MAIL_PORT']),
|
||||
fromaddr='errors@rimu.geek.nz',
|
||||
fromaddr=(app.config['MAIL_FROM']),
|
||||
toaddrs=app.config['ADMINS'], subject='PieFed error',
|
||||
credentials=auth, secure=secure)
|
||||
mail_handler.setLevel(logging.ERROR)
|
||||
|
|
Loading…
Add table
Reference in a new issue