Skip to content

Commit 0d62188

Browse files
committed
Fix variable environment name error
1 parent 4126c97 commit 0d62188

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def start_ngrok():
4242
mail_handler = SMTPHandler(
4343
mailhost=(app.config['MAIL_SERVER'], app.config['MAIL_PORT']),
4444
fromaddr='noreply@' + app.config['MAIL_SERVER'],
45-
toaddrs=app.config['ADMINS'],
45+
toaddrs=app.config['MAIL_DEFAULT_SENDER'],
4646
subject='Flask 2fa Failure',
4747
credentials=auth, secure=secure
4848
)

0 commit comments

Comments
 (0)