diff --git a/ui/litellm-dashboard/src/components/networking.tsx b/ui/litellm-dashboard/src/components/networking.tsx index d989f6d0f9e1..263616c91742 100644 --- a/ui/litellm-dashboard/src/components/networking.tsx +++ b/ui/litellm-dashboard/src/components/networking.tsx @@ -29,6 +29,7 @@ const handleError = async (errorData: string) => { message.info("UI Session Expired. Logging out."); lastErrorTime = currentTime; await sleep(3000); // 5 second sleep + document.cookie = "token=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"; window.location.href = baseUrl; } else { message.error(errorData);