blob: 10965b8adc6a0ccb751afa2667d479a03fefc4ac (
plain)
1
2
3
4
5
6
7
8
9
10
|
KB.interval(60, function () {
var statusUrl = KB.find('body').data('statusUrl');
var loginUrl = KB.find('body').data('loginUrl');
if (KB.find('.form-login') === null) {
KB.http.get(statusUrl).authError(function () {
window.location = loginUrl;
});
}
});
|