Skip to content
Snippets Groups Projects
Commit 9fa2e3ac authored by Timothee P's avatar Timothee P :sunflower:
Browse files

disable redirect to project list page after logout in shared project

parent fdadf72b
No related branches found
No related tags found
2 merge requests!295Version 3.0.0,!283REDMINE_ISSUE-12779
......@@ -203,7 +203,9 @@ export default new Vuex.Store({
commit('SET_USER', false);
commit('SET_USER_LEVEL_PROJECTS', null);
dispatch('GET_USER_LEVEL_PERMISSIONS');
if (router.history.current.name !== 'index') router.push('/');
if (router.history.current.name !== 'index' && !window.location.pathname.includes('projet-partage')) {
router.push('/');
}
}
})
.catch((error) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment