mirror of
https://github.com/outline/outline.git
synced 2026-04-21 16:59:05 -05:00
fix: Remember previous path when logging out due to auth expired
closes #5893
This commit is contained in:
@@ -131,7 +131,7 @@ class ApiClient {
|
||||
|
||||
// Handle 401, log out user
|
||||
if (response.status === 401) {
|
||||
await stores.auth.logout(false, false);
|
||||
await stores.auth.logout(true, false);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user