mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Add support for logoutOnIdleSessionTimeout
This commit is contained in:
parent
9fd40751b2
commit
6648a2e12c
7 changed files with 32 additions and 5 deletions
|
|
@ -2447,7 +2447,9 @@
|
|||
files.Stop();
|
||||
files = null;
|
||||
}
|
||||
window.location.href = 'logout';
|
||||
if (serverinfo.logoutOnIdleSessionTimeout) {
|
||||
window.location.href = 'logout';
|
||||
}
|
||||
} else {
|
||||
var ds = Math.round((serverinfo.timeout - delta) / 1000);
|
||||
if (ds <= 60) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue