Update logout redirection logic with key parameter

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

View File

@ -1541,7 +1541,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'; }
}
}
}