Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix logout issue on pages without user context (#678)
### Summary & Motivation Fix an issue where logging out from a page without user context did not immediately redirect the user. While the authentication cookies were removed, the logout was only detected after an authenticated API request failed with a `401 Unauthorized` response. Now, the logout logic immediately redirects the browser to the `loginPath`, ensuring an instant logout experience rather than waiting for a failed request. This makes the logout process more seamless and responsive. ### Checklist - [x] I have added tests, or done manual regression tests - [x] I have updated the documentation, if necessary
- Loading branch information