mirror of https://github.com/MISP/MISP
fix: [js] fixes #4678 and javascript errors
parent
599641672e
commit
9f8e22e96c
|
@ -4148,6 +4148,8 @@ function checkIfLoggedIn() {
|
|||
if (data.slice(-2) !== 'OK') {
|
||||
window.location.replace(baseurl + "/users/login");
|
||||
}
|
||||
}).fail(function() {
|
||||
window.location.replace(baseurl + "/users/login");
|
||||
});
|
||||
}
|
||||
setTimeout(function() { checkIfLoggedIn(); }, 5000);
|
||||
|
|
Loading…
Reference in New Issue