mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 04:01:10 -04:00
Add Domain Verification on Onboarding Wizard
This commit is contained in:
2
resources/assets/js/bootstrap.js
vendored
2
resources/assets/js/bootstrap.js
vendored
@ -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',
|
||||
|
||||
Reference in New Issue
Block a user