X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=install%2Findex.php;h=e9e0ef59630379763a9f41588f8940940f3f7c9d;hb=8638cffdf5eb106d2c9a6f8ee68b9f91427ace2f;hp=9e8ce243c7fd25e8dc5a2eb1e1b632edeab4495d;hpb=5723ad849a1de48c2d914772106ddf903a70877d;p=fa-stable.git diff --git a/install/index.php b/install/index.php index 9e8ce243..e9e0ef59 100644 --- a/install/index.php +++ b/install/index.php @@ -151,7 +151,8 @@ function do_install() { update_company_prefs(array('coy_name'=>$con['name'])); $admin = get_user_by_login('admin'); update_user_prefs($admin['id'], array( - 'language' => $_POST['lang'], + 'language' => $con['lang'], + 'password' => md5($con['pass']), 'user_id' => $con['admin'])); if (!copy($path_to_root. "/config.default.php", $path_to_root. "/config.php")) {