fixing check authen
This commit is contained in:
parent
eb981b07fa
commit
e5f344d75b
1 changed files with 1 additions and 2 deletions
|
|
@ -33,8 +33,7 @@ http.interceptors.response.use(
|
|||
// eslint-disable-next-line no-prototype-builtins
|
||||
if (error.hasOwnProperty("response")) {
|
||||
if (error.response.status === 401 || error.response.status === 403) {
|
||||
kcLogout();
|
||||
|
||||
// kcLogout();
|
||||
// Store.commit("SET_ERROR_MESSAGE", error.response.data.message);
|
||||
// Store.commit("REMOVE_ACCESS_TOKEN")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue