reset state on timeout
This commit is contained in:
parent
a5088eb73f
commit
f8df9b6512
1 changed files with 1 additions and 0 deletions
|
|
@ -46,6 +46,7 @@ const routes = [
|
|||
|
||||
// If the saved session has timed out, clear the session, execute 404 logic.
|
||||
if (getFunnelCookie() !== null && !isSavedSessionStillActive()) {
|
||||
await baseMixin.methods.dispatchStoreAction(storeActions.RESET_STATE);
|
||||
await GoToFunnelStartOn404(next);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue