Merge branch 'hotfix-25' into develop
This commit is contained in:
@@ -287,7 +287,8 @@ function (angular, _, kbn) {
|
||||
|
||||
// Handle auth errors
|
||||
if (response.data.error.data == "Session terminated, re-login, please." ||
|
||||
response.data.error.data == 'Not authorised.') {
|
||||
response.data.error.data == "Not authorised." ||
|
||||
response.data.error.data == "Not authorized") {
|
||||
return self.performZabbixAPILogin().then(function (response) {
|
||||
self.auth = response;
|
||||
return self.performZabbixAPIRequest(method, params);
|
||||
@@ -799,4 +800,4 @@ function formatAcknowledges(acknowledges) {
|
||||
} else {
|
||||
return '';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user