diff --git a/views/default-mobile.handlebars b/views/default-mobile.handlebars index 4f19977f..529a8f74 100644 --- a/views/default-mobile.handlebars +++ b/views/default-mobile.handlebars @@ -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'; } } } } diff --git a/views/default.handlebars b/views/default.handlebars index e20836cc..b550f823 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -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); diff --git a/views/default3.handlebars b/views/default3.handlebars index 81b3f731..db7b3e17 100644 --- a/views/default3.handlebars +++ b/views/default3.handlebars @@ -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);