From 8c1e8ba182dc0f1cda2f3921358d665134500092 Mon Sep 17 00:00:00 2001 From: Jeremy Zimmerman Date: Wed, 30 Oct 2024 10:45:54 -0400 Subject: [PATCH 1/2] Added code to remove the loading animation if the client tag validation fails. --- src/layouts/entry-page/entry-page.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/layouts/entry-page/entry-page.vue b/src/layouts/entry-page/entry-page.vue index 130b1758..c1e48c2d 100644 --- a/src/layouts/entry-page/entry-page.vue +++ b/src/layouts/entry-page/entry-page.vue @@ -12,6 +12,7 @@ import issPageValues from '@/router/router-constants/issPage-values'; import { validateISSClientTag, validateISSClientSignature } from '@/helpers/clientauth-helper'; import { getISSCookie, updateOrCreateISSCookie } from '@/helpers/cookie-helper.js'; import { useMainStore } from '@/store'; +import showIssLoadingModal from '@/helpers/loading-modal-helper'; import applicationConfig from '@/constants/application-config'; export default { @@ -80,6 +81,8 @@ export default { // 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}`; } + } else { + showIssLoadingModal(false); } }, methods: From 81f25bafc853661f3ca508136d97a941e2ec6ebd Mon Sep 17 00:00:00 2001 From: Jeremy Zimmerman Date: Wed, 30 Oct 2024 10:49:30 -0400 Subject: [PATCH 2/2] Added code comment. --- src/layouts/entry-page/entry-page.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/layouts/entry-page/entry-page.vue b/src/layouts/entry-page/entry-page.vue index c1e48c2d..e72c16ff 100644 --- a/src/layouts/entry-page/entry-page.vue +++ b/src/layouts/entry-page/entry-page.vue @@ -82,6 +82,7 @@ export default { window.location = `/?issPage=${issPageValues.WELCOME_PAGE}`; } } else { + // Remove the loading animation if client tag validation fails so users can see the Unauthorized Access message. showIssLoadingModal(false); } },