mirror of https://github.com/jumpserver/jumpserver
fix: 【登录超时】修复登录页面提示 <登录超时,请重新登录> 问题
parent
58d30e7f85
commit
6e506e3146
|
@ -407,6 +407,15 @@
|
|||
$('#password-hidden').val(passwordEncrypted); //返回给密码输入input
|
||||
$('#login-form').submit(); //post提交
|
||||
}
|
||||
function checkHealth() {
|
||||
let url = "{% url 'health' %}";
|
||||
requestApi({
|
||||
url: url,
|
||||
method: "GET",
|
||||
flash_message: false,
|
||||
})
|
||||
}
|
||||
setInterval(checkHealth, 10 * 1000);
|
||||
</script>
|
||||
</html>
|
||||
|
||||
|
|
Loading…
Reference in New Issue