Merge pull request #1696 from Safelite/feature/clear-expired-funnel-cookies
Clear funnelsessioninfo when expired, insteaed of just state
This commit is contained in:
commit
52bbb97a49
1 changed files with 1 additions and 0 deletions
|
|
@ -51,6 +51,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);
|
||||
deleteFunnelCookie();
|
||||
GoToFunnelStartOn404(next);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue