X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=access%2Flogin.php;h=d3154b5240bb3adcbac6c3a3a367fb3af283a940;hb=0d191c7bff92b9a9bbc44dab48855477edb99ebf;hp=799c91c175ff7f102c3b473cc7c7a6542f77ea5b;hpb=aa7eb75a2b21809008113779e9b6c5fa7a869c9b;p=fa-stable.git diff --git a/access/login.php b/access/login.php index 799c91c1..d3154b52 100644 --- a/access/login.php +++ b/access/login.php @@ -43,6 +43,7 @@ function defaultCompany() document.getElementById('log_msg').innerHTML='$demo_text'}, 1000*$login_delay);"; $demo_text = $blocked_msg; } + flush_dir(user_js_cache()); if (!isset($def_coy)) $def_coy = 0; $def_theme = "default"; @@ -125,7 +126,11 @@ function defaultCompany() // add all request variables to be resend together with login data if (!in_array($p, array('ui_mode', 'user_name_entry_field', 'password', 'SubmitUser', 'company_login_name'))) - echo ""; + if (!is_array($val)) + echo ""; + else + foreach($val as $i => $v) + echo ""; } end_form(1); $Ajax->addScript(true, "document.forms[0].password.focus();"); @@ -157,4 +162,3 @@ function defaultCompany() echo "

\n"; echo "\n"; -?>