Update logout redirection logic with key parameter on logoutonidlesessiontimeout (#7379)
TechWorkz committed
Oct 25, 2025 at 17:32 UTC
f9bb7315cc0ea007ac0f5d25a101ebbb0777640f
3 files changed
+6
-3
views/default-mobile.handlebars
+2
-1
@@ -1541,7 +1541,8 @@
1541
files = null;
1542
}
1543
if (serverinfo.logoutonidlesessiontimeout) {
1544
- window.location.href = 'logout';
1544
+ if (urlargs.key) { window.location.href = 'logout?key=' + urlargs.key; }
1545
+ else { window.location.href = 'logout'; }
1546
}
1547
}
1548
}
views/default.handlebars
+2
-1
@@ -2453,7 +2453,8 @@
2453
files = null;
2454
}
2455
if (serverinfo.logoutonidlesessiontimeout) {
2456
- window.location.href = 'logout';
2456
+ if (urlargs.key) { window.location.href = 'logout?key=' + urlargs.key; }
2457
+ else { window.location.href = 'logout'; }
2458
}
2459
} else {
2460
var ds = Math.round((serverinfo.timeout - delta) / 1000);
views/default3.handlebars
+2
-1
@@ -3087,7 +3087,8 @@
3087
files = null;
3088
}
3089
if (serverinfo.logoutonidlesessiontimeout) {
3090
- window.location.href = 'logout';
3090
+ if (urlargs.key) { window.location.href = 'logout?key=' + urlargs.key; }
3091
+ else { window.location.href = 'logout'; }
3092
}
3093
} else {
3094
var ds = Math.round((serverinfo.timeout - delta) / 1000);