diff --git a/api/js/jsapi/egw.js b/api/js/jsapi/egw.js index f88366963c..a379929df0 100644 --- a/api/js/jsapi/egw.js +++ b/api/js/jsapi/egw.js @@ -131,6 +131,7 @@ } // if framework not found, but requested to check for it, redirect to cd=yes to create it if (typeof window.framework == 'undefined' && + !window.location.pathname.match(/\/login.php/) && // not for login page !window.location.search.match(/[&?]cd=/)) { window.location.search += (window.location.search ? "&" : "?")+