mirror of https://github.com/MISP/MISP
Merge pull request #4769 from cvandeplas/2.4
fix: [js] fixes #4678 and javascript errorspull/4781/head
commit
ba6fe46d6e
|
@ -4122,6 +4122,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