diff --git a/src/forest/auth/routes.py b/src/forest/auth/routes.py index 46471ab..b8c58b3 100644 --- a/src/forest/auth/routes.py +++ b/src/forest/auth/routes.py @@ -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():