diff --git a/app/api/auth.py b/app/api/auth.py index 8b5bd35460..08e54c523a 100644 --- a/app/api/auth.py +++ b/app/api/auth.py @@ -349,9 +349,7 @@ def reset_password_post(): subject=MAILS['PASSWORD_RESET_AND_VERIFY']['subject'].format( app_name=get_settings()['app_name'] ), - html=render_template( - html='email/password_reset_and_verify.html', link=link - ), + html=render_template('email/password_reset_and_verify.html', link=link), ) else: diff --git a/requirements/common.txt b/requirements/common.txt index e05faafad0..1a49050e17 100644 --- a/requirements/common.txt +++ b/requirements/common.txt @@ -62,6 +62,7 @@ pyyaml==5.3.1 sendgrid==6.4.7 marshmallow==2.15.2 WeasyPrint==52.1 +Flask-Babel==2.0.0 # GraphQL support graphene-sqlalchemy==2.3.0