mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-10-26 11:27:04 +00:00
Update logout redirection logic with key parameter
This commit is contained in:
parent
751f6a80e5
commit
f46d10a9a4
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user