Update logout redirection logic with key parameter on logoutonidlesessiontimeout (#7379)

This commit is contained in:
TechWorkz
2025-10-25 17:32:06 +08:00
committed by GitHub
parent 751f6a80e5
commit f9bb7315cc
3 changed files with 6 additions and 3 deletions

View File

@@ -2453,7 +2453,8 @@
files = null;
}
if (serverinfo.logoutonidlesessiontimeout) {
window.location.href = 'logout';
if (urlargs.key) { window.location.href = 'logout?key=' + urlargs.key; }
else { window.location.href = 'logout'; }
}
} else {
var ds = Math.round((serverinfo.timeout - delta) / 1000);