HOR-3182
This commit is contained in:
@@ -2567,11 +2567,7 @@ class Bootstrap
|
||||
$hashType = Bootstrap::getPasswordHashType();
|
||||
}
|
||||
|
||||
$filter = new InputFilter();
|
||||
$hashType = $filter->validateInput($hashType);
|
||||
$pass = $filter->validateInput($pass);
|
||||
|
||||
eval("\$var = hash('" . $hashType . "', '" . $pass . "');");
|
||||
$var = hash($hashType, $pass);
|
||||
|
||||
if ($includeHashType) {
|
||||
$var = $hashType . ':' . $var;
|
||||
|
||||
Reference in New Issue
Block a user