Add Domain Verification on Onboarding Wizard

This commit is contained in:
Raish
2021-06-18 09:51:19 +00:00
committed by Mohit Panjwani
parent 2fb46a4ab3
commit 8eb47b553e
26 changed files with 1549 additions and 1401 deletions

View File

@ -126,9 +126,11 @@ global.axios.interceptors.response.use(undefined, function (err) {
} else {
if (
err.response.data &&
err.config.url !== '/api/v1/auth/check' &&
(err.response.statusText === 'Unauthorized' ||
err.response.data === ' Unauthorized.')
) {
console.log(err.response)
// Unauthorized and log out
store.dispatch('notification/showNotification', {
type: 'error',