Update password hashing algorithm

This commit is contained in:
Amit sharma
2026-04-28 11:03:49 +05:30
parent 622e8d9c26
commit 9ff2bac9ed
15 changed files with 157 additions and 160 deletions

View File

@@ -1188,8 +1188,8 @@ abstract class ObjectModelCore implements Core_Foundation_Database_EntityInterfa
}
if ($field == 'passwd') {
if ($value = Tools::getValue($field)) {
$crypto = new Hashing();
$this->{$field} = $crypto->hash($value);
$objHash = new PasswordHashing();
$this->{$field} = $objHash->passwordHash($value);
}
} else {
$this->{$field} = $value;