Fix issue where store is not cleared properly
This commit is contained in:
parent
b479e3ad48
commit
63e9de01e2
|
@ -118,6 +118,8 @@ const actions: ActionTree<SessionInterface, StateInterface> = {
|
|||
}).then(() => {
|
||||
commit('clearCurrentSession');
|
||||
commit('user/clearCurrentUser', null, { root: true });
|
||||
// ensure also volatile store gets cleared by refreshing the site
|
||||
Router.go(0);
|
||||
});
|
||||
},
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue