CASH-109 exclude timeout check for SQ return
CASH-109 exclude timeout check for savequote return from heritage
This commit is contained in:
parent
5d014a2262
commit
19642d48c1
1 changed files with 3 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ import { applicationConfig } from "../constants/application-config";
|
||||||
import { getFunnelCookie } from "@/helpers/heritage-integration/cookie-helper";
|
import { getFunnelCookie } from "@/helpers/heritage-integration/cookie-helper";
|
||||||
import { fmgPageValues } from "@/router/router-constants/fmgPage-values";
|
import { fmgPageValues } from "@/router/router-constants/fmgPage-values";
|
||||||
import router from "@/router/index.js";
|
import router from "@/router/index.js";
|
||||||
|
import { getQuerystringParameter } from "@/helpers/querystring-helper";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
methods: {
|
methods: {
|
||||||
|
|
@ -716,9 +717,11 @@ export default {
|
||||||
// The sid cookie for analytics will expire every 30 minutes and get recreated in initSession. If this happens
|
// The sid cookie for analytics will expire every 30 minutes and get recreated in initSession. If this happens
|
||||||
// and we also have the funnel cookie present, that indicates they have an existing session that is now expired
|
// and we also have the funnel cookie present, that indicates they have an existing session that is now expired
|
||||||
// so route them to the return user page.
|
// so route them to the return user page.
|
||||||
|
const fromHeritage = getQuerystringParameter(queryStrings.FROM_HERITAGE) === "true";
|
||||||
const funnelCookieLastTouched = getFunnelCookie()?.LastTouched;
|
const funnelCookieLastTouched = getFunnelCookie()?.LastTouched;
|
||||||
if (
|
if (
|
||||||
this.noSession() &&
|
this.noSession() &&
|
||||||
|
!fromHeritage &&
|
||||||
funnelCookieLastTouched !== null &&
|
funnelCookieLastTouched !== null &&
|
||||||
funnelCookieLastTouched !== undefined
|
funnelCookieLastTouched !== undefined
|
||||||
) {
|
) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue