Skip to content
Snippets Groups Projects
Commit d08c2618 authored by Bjarke Madsen's avatar Bjarke Madsen
Browse files

redirect to /survey/

parent d937225c
Branches
Tags
No related merge requests found
......@@ -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'))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment