disable password autocomplete and fix password not hashed on update

This commit is contained in:
osaajani 2021-06-14 21:43:03 +02:00
parent 17d91873d4
commit 7a20cbb286
4 changed files with 4 additions and 4 deletions

View file

@ -390,7 +390,7 @@ class User extends \descartes\Controller
if ($password)
{
$updated_user['password'] = $password;
$updated_user['password'] = password_hash($password, PASSWORD_DEFAULT);
}
$success = $this->internal_user->update($id_user, $updated_user, $quota);