diff --git a/client/src/app.js b/client/src/app.js index f131579a15..8d0e0145f7 100644 --- a/client/src/app.js +++ b/client/src/app.js @@ -578,9 +578,10 @@ Espo.define( break; case 401: if (!options.login) { - Espo.Ui.error(self.language.translate('Auth error')); if (self.auth) { self.logout(); + } else { + Espo.Ui.error(self.language.translate('Auth error')); } } break;