remove a password log, corrected PHP version in log (#2627)

* remove a password log, corrected PHP version in log

* PHP version correction
pull/2681/head
Pliable Pixels 2019-06-16 11:59:48 -04:00 committed by Isaac Connor
parent 2d5f84cd22
commit a6e42e4317
1 changed files with 1 additions and 2 deletions

View File

@ -32,7 +32,7 @@ if ( $action == 'user' ) {
$pass_hash = '"'.password_hash($_REQUEST['newUser']['Password'], PASSWORD_BCRYPT).'"';
} else {
$pass_hash = ' PASSWORD('.dbEscape($_REQUEST['newUser']['Password']).') ';
ZM\Info('Cannot use bcrypt as you are using PHP < 5.5');
ZM\Info('Cannot use bcrypt as you are using PHP < 5.3');
}
if ( $_REQUEST['newUser']['Password'] ) {
@ -70,7 +70,6 @@ if ( $action == 'user' ) {
}
if ( !empty($_REQUEST['newUser']['Password']) ) {
ZM\Info('PASS CMD='.$changes['Password']);
$changes['Password'] = 'Password = '.$pass_hash;
}