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

update redirect URL to be the compendium frontpage

parent b59a02e5
Branches
Tags
1 merge request!53Feature/comp 223 login flow
......@@ -32,8 +32,8 @@ def authorize():
user = create_user(profile['email'], profile['name'], profile['sub'])
login_user(user)
# redirect to /survey since we only require login for this part of the app
return redirect(url_for('compendium-v2-default.survey_index'))
# redirect to /
return redirect(url_for('compendium-v2-default.index'))
@routes.route("/logout")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment