Update password hashing algorithm
This commit is contained in:
@@ -3840,8 +3840,8 @@ class AdminControllerCore extends Controller
|
||||
}
|
||||
/* Automatically hash password */
|
||||
if ($key == 'passwd' && !empty($value)) {
|
||||
$crypto = new Hashing();
|
||||
$value = $crypto->hash($value);
|
||||
$objHash = new PasswordHashing();
|
||||
$value = $objHash->passwordHash($value);
|
||||
}
|
||||
$object->{$key} = $value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user