From d08c2618f5722b385ebbe39385bd71397427603b Mon Sep 17 00:00:00 2001 From: Bjarke Madsen <bjarke@nordu.net> Date: Thu, 3 Aug 2023 12:03:59 +0200 Subject: [PATCH] redirect to /survey/ --- compendium_v2/routes/authentication.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compendium_v2/routes/authentication.py b/compendium_v2/routes/authentication.py index f66d26bc..f3273abe 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')) -- GitLab