X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=inc%2Ftemplates_install.php;h=e9a96ff0d43edd2917b5d08993c65f55d0dc3f35;hp=86c856650e965d738958914cdac991f010dbe4fe;hb=3c74920cb66b4e6c47c7e8a0eaeed40ffb7e8544;hpb=b6cae6a5698c5d0655d921f78f0ccab470bf034c diff --git a/inc/templates_install.php b/inc/templates_install.php index 86c8566..e9a96ff 100644 --- a/inc/templates_install.php +++ b/inc/templates_install.php @@ -200,7 +200,7 @@ } par_success (trans ('User table created.')); try { - $connection->setpwd ("admin", $_POST ["admin_pass"]); + $connection->setpwd ("admin", $_POST ["admin_pass"], true); } catch (Exception $e) { par_error_and_leave (trans ('Error when initializing password.')); }