BUG-15561 Cambiar el algoritmo o metodo de cifrado... SOLVED
- It don't have the functionality. - A function was add in class bootstrap hasPassword. - a function was add in class enterprise.
This commit is contained in:
@@ -2868,7 +2868,6 @@ class Bootstrap
|
||||
} catch (Exception $e) {
|
||||
|
||||
}
|
||||
error_log('hasPassword bootstrap ' . $passEncrypt);
|
||||
|
||||
return $passEncrypt;
|
||||
}
|
||||
@@ -2876,11 +2875,9 @@ class Bootstrap
|
||||
public function verifyHashPassword ($pass, $userPass)
|
||||
{
|
||||
//$verify = Bootstrap::hasPassword($pass);
|
||||
error_log('contraseña config...');
|
||||
if (Bootstrap::hasPassword($pass) == $userPass) {
|
||||
return true;
|
||||
}
|
||||
error_log('contraseña anterior...');
|
||||
if (Bootstrap::hasPassword($pass, true) == $userPass) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user