Optimize the auth flow (#68)
Co-authored-by: AceDataCloud <office@acedata.cloud>
This commit is contained in:
1 parent
033cbc082c
commit
85aef535f6
23 files changed
+215
-245
No files matched your search
@@ -28,7 +28,7 @@ httpClient.interceptors.response.use(
|
||||
},
|
||||
(error) => {
|
||||
if (error?.response?.status === 401) {
|
||||
store.dispatch('resetToken');
|
||||
store.dispatch('login');
|
||||
}
|
||||
return Promise.reject(error);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user