From 16093ecaf7167a1b89e8737dadaf5d99ddde66d4 Mon Sep 17 00:00:00 2001 From: CarlNation Date: Thu, 23 Jan 2025 13:43:23 -0500 Subject: [PATCH] CASH-139 CASH-139 remove fromHeritage querystring once validation is checked so expiration works on service location --- src/router/index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/router/index.js b/src/router/index.js index d956af773..75b01cea8 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -56,6 +56,11 @@ const routes = [ log(" --cookie: ", getFunnelCookie()); log(` --from.redirectedFrom:>${JSON.stringify(from.redirectedFrom)}<`, ""); + // 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) {