#7272 - BUG Redirect To Login when ACL not exists #2371

Merged
jsegarra merged 19 commits from 7272_bug_redirectToLogin into dev 2024-05-27 06:56:20 +00:00
1 changed files with 1 additions and 3 deletions
Showing only changes of commit da3c4cb8fc - Show all commits

View File

@ -47,8 +47,7 @@ export default class Auth {
switch (err.status) { switch (err.status) {
case 400: case 400:
case 401: case 401:
redirectToLogin(); return redirectToLogin();
break;
default: default:
return new Promise(resolve => { return new Promise(resolve => {
setTimeout(() => { setTimeout(() => {
@ -58,7 +57,6 @@ export default class Auth {
}, 2000); }, 2000);
}); });
} }
console.error(err);
}); });
}; };
return loadWithRetry(); return loadWithRetry();