mirror of
https://github.com/outline/outline.git
synced 2026-12-03 10:00:13 +03:00
fix: Remember previous path when logging out due to auth expired
closes #5893
This commit is contained in:
1 parent
2e759e4e81
commit
5b2bb41ead
1 file changed
+1
-1
@@ -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