parent
e726f59114
commit
5d1b79334a
@ -251,10 +251,12 @@ def register_settings(app):
|
|||||||
'MAIL_SERVER',
|
'MAIL_SERVER',
|
||||||
app.config['MAIL_SERVER']
|
app.config['MAIL_SERVER']
|
||||||
)
|
)
|
||||||
app.config['MAIL_PORT'] = os.getenv(
|
app.config['MAIL_PORT'] = int(
|
||||||
|
os.getenv(
|
||||||
'MAIL_USE_SSL',
|
'MAIL_USE_SSL',
|
||||||
app.config['MAIL_PORT']
|
app.config['MAIL_PORT']
|
||||||
)
|
)
|
||||||
|
)
|
||||||
app.config['MAIL_USE_SSL'] = os.getenv(
|
app.config['MAIL_USE_SSL'] = os.getenv(
|
||||||
'MAIL_USE_SSL',
|
'MAIL_USE_SSL',
|
||||||
app.config['MAIL_USE_SSL']
|
app.config['MAIL_USE_SSL']
|
||||||
|
Loading…
Reference in New Issue
Block a user