This commit is contained in:
Roly Rudy Gutierrez Pinto
2017-09-18 16:17:39 -04:00
parent d5c8707fcf
commit 381985824c

View File

@@ -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;