Skip to content

Commit

Permalink
Fix Google login page
Browse files Browse the repository at this point in the history
  • Loading branch information
matejak committed Sep 26, 2024
1 parent 4425a44 commit 666ee86
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion estimage/webapp/login/google_login.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from . import bp
from . import forms
from ..users import User
from .. import web_utils


def get_google_client(app):
Expand Down Expand Up @@ -38,7 +39,7 @@ def google_login(safe_next_page):
return start_google_login(safe_next_page)

login_provider = flask.current_app.config["LOGIN_PROVIDER_NAME"]
return flask.render_template(
return web_utils.render_template(
'login.html', title='Sign In', login_form=form,
next=safe_next_page, login_provider=login_provider)

Expand Down

0 comments on commit 666ee86

Please sign in to comment.