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