mirror of
https://github.com/Icinga/icingaweb2.git
synced 2026-06-08 16:12:43 -04:00
Merge 0fa1388e49 into 1d6fa0aabd
This commit is contained in:
commit
9b57fec806
1 changed files with 6 additions and 1 deletions
|
|
@ -1053,7 +1053,12 @@
|
|||
this.icinga.timer.unregister(req.progressTimer);
|
||||
}
|
||||
|
||||
if (req.status > 0 && req.status < 501) {
|
||||
if (req.status == 401) {
|
||||
this.icinga.logger.debug(
|
||||
'Request to ' + url + ' return 401. Will refresh page to trigger new login.'
|
||||
);
|
||||
window.location.reload();
|
||||
} else if (req.status > 0 && req.status < 501) {
|
||||
this.icinga.logger.error(
|
||||
req.status,
|
||||
errorThrown + ':',
|
||||
|
|
|
|||
Loading…
Reference in a new issue