Merge pull request #2249 from Safelite/feature/CASH-139-v2

CASH-139
This commit is contained in:
CarlNation 2025-01-23 14:10:31 -05:00 committed by GitHub
commit 3891dc5aea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -56,13 +56,13 @@ const routes = [
log(" --cookie: ", getFunnelCookie());
log(` --from.redirectedFrom:>${JSON.stringify(from.redirectedFrom)}<`, "");
await analyticsMixin.methods.validateSession();
// after session is validated, remove the fromHeritage querystring if it exists so session expiration works
if (to.query) {
delete to.query[queryStrings.FROM_HERITAGE];
}
await analyticsMixin.methods.validateSession();
if (getFunnelCookie()?.SuppressConceptFunnel) {
log(" --go to heritage suppressConceptFunnel: ");
await navigateToHeritageFunnel({ shouldSaveSession: false });