- user_update password change fixed

This commit is contained in:
Wiesner András 2025-10-15 13:22:00 +02:00
parent 7c533f91f0
commit b8fd7effaa

View File

@ -773,7 +773,7 @@ function create_update_user(ReqHandler &$rh, array $params): string
// password replacement, if requested
if ($password !== "") {
$tuser->changePassword(password_hash($password, PASSWORD_DEFAULT), "", false);
$tuser->changePassword($password, "", false);
}
$tuser->storeMods();