remove a password log, corrected PHP version in log (#2627)
* remove a password log, corrected PHP version in log * PHP version correctionpull/2681/head
parent
2d5f84cd22
commit
a6e42e4317
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue