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

@@ -3840,8 +3840,8 @@ class AdminControllerCore extends Controller
}
/* Automatically hash password */
if ($key == 'passwd' && !empty($value)) {
$crypto = new Hashing();
$value = $crypto->hash($value);
$objHash = new PasswordHashing();
$value = $objHash->passwordHash($value);
}
$object->{$key} = $value;
}