From 65c73494fdebf837a568903204eadd6a00d90401 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Wed, 5 Oct 2005 14:34:30 +0000 Subject: [PATCH] Fix bug for user creation - password --- html/admin_repo.php | 2 +- html/priv_user.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/html/admin_repo.php b/html/admin_repo.php index 800215ff8..6efcb9d29 100644 --- a/html/admin_repo.php +++ b/html/admin_repo.php @@ -51,7 +51,7 @@ if ( isset ($_GET["action"]) ) { // Add user if ( isset ($_POST["LOGIN"]) ) { $cn=DbConnect(); - $pass5=md5($PASS); + $pass5=md5($_POST['PASS']); $Res=ExecSql($cn,"insert into ac_users(use_first_name,use_name,use_login,use_active,use_pass ,use_usertype) values ('".$_POST["FNAME"]."','".$_POST["LNAME"]."','".$_POST["LOGIN"]."',1,'$pass5', diff --git a/html/priv_user.php b/html/priv_user.php index 1fc83fee8..d75b35e1c 100644 --- a/html/priv_user.php +++ b/html/priv_user.php @@ -69,7 +69,7 @@ echo '

Gestion Utilisateurs

';