This commit is contained in:
Nathnael
2026-06-09 08:29:09 +00:00
parent 4566033046
commit c70c10b0df
2 changed files with 9 additions and 5 deletions

View File

@@ -113,9 +113,6 @@ client.interceptors.response.use(
} catch (refreshError) {
processQueue(refreshError, undefined);
clearAuthCookies();
if (window.location.pathname !== "/login") {
window.location.href = "/login";
}
return Promise.reject(refreshError);
} finally {
isRefreshing = false;