Merge pull request #884 from Safelite/feature/SSR-9999
SSR-9999: Added code to remove the loading animation if the client tag validation fails.
This commit is contained in:
commit
ca5a51dc69
1 changed files with 4 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ import issPageValues from '@/router/router-constants/issPage-values';
|
||||||
import { validateISSClientTag, validateISSClientSignature } from '@/helpers/clientauth-helper';
|
import { validateISSClientTag, validateISSClientSignature } from '@/helpers/clientauth-helper';
|
||||||
import { getISSCookie, updateOrCreateISSCookie } from '@/helpers/cookie-helper.js';
|
import { getISSCookie, updateOrCreateISSCookie } from '@/helpers/cookie-helper.js';
|
||||||
import { useMainStore } from '@/store';
|
import { useMainStore } from '@/store';
|
||||||
|
import showIssLoadingModal from '@/helpers/loading-modal-helper';
|
||||||
import applicationConfig from '@/constants/application-config';
|
import applicationConfig from '@/constants/application-config';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|
@ -80,6 +81,9 @@ export default {
|
||||||
// Forced full location redirect here. We do not want the entry page as part of the router/flow/path history.
|
// 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}`;
|
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);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods:
|
methods:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue