fix callback redirect

This commit is contained in:
deflax 2024-04-06 17:57:44 +03:00
parent ad3498f339
commit 7a99ae7dfb

View file

@ -98,7 +98,7 @@ def oauth2_callback(provider):
# log the user in
login_user(user)
return redirect(url_for('index'))
return redirect(url_for('main.index'))
@auth.before_app_request
def before_request():