Task #0001793: Installation mot de passe

This commit is contained in:
Dany De Bontridder 2020-03-24 14:21:48 +01:00
parent a115102fdf
commit 6dcbd862fd
2 changed files with 2 additions and 2 deletions

View file

@ -525,7 +525,7 @@ if ($account == 0 ) {
/* update name administrator */
$cadmin=NOALYSS_ADMINISTRATOR;
$cn->exec_sql("update ac_users set use_login=$1,use_password=md5($2),use_active=1 where use_id=1",
array(strtolower($cadmin,$icpassword_admin)));
array(strtolower($cadmin),$icpassword_admin));
$cn->commit($cn);

View file

@ -85,7 +85,7 @@ $g_succeed="<span style=\"font-size:18px;color:green\">&#x2713;</span>";
define ('SMALLX','&#x2D5D;');
define ('BUTTONADD',"&#10010;");
define("NOALYSS_VERSION",9999);
define ('SVNINFO',NOALYSS_VERSION);
if ( ! defined ('DEBUG')) {
define ("DEBUG",false);