In my testing this fixes the redirect loop on logout
This commit is contained in:
@ -67,7 +67,6 @@ class ApiClient {
|
||||
// Handle 401, log out user
|
||||
if (response.status === 401) {
|
||||
stores.auth.logout();
|
||||
window.location = '/';
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user