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 '