diff --git a/compendium_v2/routes/authentication.py b/compendium_v2/routes/authentication.py index f66d26bc428b266048032efbbc0d8acfc294911e..f3273abe4f4dcf13a39f391573ac3ca3ea011f49 100644 --- a/compendium_v2/routes/authentication.py +++ b/compendium_v2/routes/authentication.py @@ -33,7 +33,7 @@ def authorize(): login_user(user) # redirect to / - return redirect(url_for('compendium-v2-default.index')) + return redirect(url_for('compendium-v2-default.survey_index')) @routes.route("/logout") @@ -42,4 +42,4 @@ def logout(): # The user will be logged out of the application, but not the IDP. # If they visit again before their oauth token expires, they are immediately logged in. logout_user() - return redirect('/') + return redirect(url_for('compendium-v2-default.survey_index'))