fix: [UI] Annoying race condition fixed causing redirects to the login, fixes #5172

pull/5177/head
iglocska 2019-09-17 12:40:22 +02:00
parent 73ceb63ca5
commit 71a0fd350b
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
2 changed files with 1 additions and 3 deletions

View File

@ -46,7 +46,7 @@ class AppController extends Controller
public $helpers = array('Utility', 'OrgImg', 'FontAwesome', 'UserName');
private $__queryVersion = '87';
private $__queryVersion = '88';
public $pyMispVersion = '2.4.114';
public $phpmin = '7.0';
public $phprec = '7.2';

View File

@ -4257,8 +4257,6 @@ 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);