diff --git a/src/layouts/entry-page/entry-page.vue b/src/layouts/entry-page/entry-page.vue index 8c4cfba3..8fc1d6e5 100644 --- a/src/layouts/entry-page/entry-page.vue +++ b/src/layouts/entry-page/entry-page.vue @@ -11,6 +11,7 @@ import issPageValues from '@/router/router-constants/issPage-values'; import { validateISSClientTag, validateISSClientSignature } from '@/helpers/clientauth-helper'; import { useMainStore } from '@/store'; +import applicationConfig from '@/constants/application-config'; export default { name: 'entry-page', @@ -46,8 +47,16 @@ export default { } this.mainStore.applicationUser.coverageAttempts = 0; - // Forced full location redirect here. We do not want the entry page as part of the router/flow/path history. - window.location = `/?issPage=${issPageValues.WELCOME_PAGE}`; + if ( + applicationConfig.CURRENT_ENVIRONMENT === 'Localhost' + || applicationConfig.CURRENT_ENVIRONMENT === 'Dev' + || applicationConfig.CURRENT_ENVIRONMENT === 'SysTest' + ) { + this.navigateForward(); + } else { + // Forced full location redirect here. We do not want the entry page as part of the router/flow/path history. + window.location = `/?issPage=${issPageValues.WELCOME_PAGE}`; + } } }, methods: