Update logout redirection to use key from URL arguments

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

View File

@ -3087,7 +3087,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);