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