diff --git a/restapi/index.php b/restapi/index.php index 4aa2c4de7..ea77e532f 100644 --- a/restapi/index.php +++ b/restapi/index.php @@ -2118,7 +2118,7 @@ class RestapiController { /* {{{ */ return; } - $operation = $account->setPwd($newPassword); + $operation = $account->setPwd(seed_pass_hash($newPassword)); if (!$operation){ return $response->withJson(array('success'=>false, 'message'=>'', 'data'=>'Could not change password.'), 404);