Add support for logoutOnIdleSessionTimeout (#6773)

This commit is contained in:
Martin Mädler
2025-02-12 11:04:10 +01:00
committed by GitHub
parent 0b376fe5a0
commit 9d4f51e970
7 changed files with 32 additions and 5 deletions

View File

@@ -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) {