fixing check authen

This commit is contained in:
Warunee Tamkoo 2024-08-08 09:49:16 +07:00
parent eb981b07fa
commit e5f344d75b

View file

@ -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")
}