Update logout redirection logic with key parameter

This commit is contained in:
TechWorkz 2025-10-25 09:28:52 +08:00 committed by GitHub
parent 751f6a80e5
commit f46d10a9a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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);