diff --git a/include/layout.js b/include/layout.js index c7a5b682c3..8f3373a8c6 100644 --- a/include/layout.js +++ b/include/layout.js @@ -800,7 +800,7 @@ function setupPageTimeout() { if (typeof refreshMSeconds != 'undefined') { myRefresh = setTimeout(function() { if (refreshIsLogout) { - document.location = refreshPage; + document.location = 'logout.php'; }else{ if (previousPage != '') { refreshPage = previousPage;