dont show auth error message

This commit is contained in:
yuri
2017-08-16 16:30:55 +03:00
parent d9b1418f36
commit 3b4dc45984
+2 -1
View File
@@ -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;