In my testing this fixes the redirect loop on logout

This commit is contained in:
Tom Moor
2018-02-12 22:44:43 -08:00
parent 8ebf748cf6
commit ea471b2a19
5 changed files with 6 additions and 8 deletions

View File

@ -67,7 +67,6 @@ class ApiClient {
// Handle 401, log out user
if (response.status === 401) {
stores.auth.logout();
window.location = '/';
return;
}