mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
When PROXY_LOGOUT_URL is unset (the default), handleLogout navigated to an empty string, which reloads whatever page the user is on with the token already cleared. The per-route auth guard then waited for the async UI config fetch before redirecting, so users saw the old page (with 401ing data calls) for a few seconds after clicking logout. Logout now goes straight to the login page via location.replace and clears the stored return URL so a later login cannot bounce back to the pre-logout page. useAuthorized also redirects immediately when the token is missing or invalid instead of waiting on the UI config fetch, which covers expired sessions hard-loading any dashboard route. |
||
|---|---|---|
| .. | ||
| litellm-dashboard | ||
| Dockerfile | ||
| nginx.conf | ||