diff --git a/frontend/modules/api/controllers/UserController.php b/frontend/modules/api/controllers/UserController.php index 6e2d628..81dd374 100755 --- a/frontend/modules/api/controllers/UserController.php +++ b/frontend/modules/api/controllers/UserController.php @@ -144,7 +144,7 @@ class UserController extends ApiController * @OA\MediaType( * mediaType="application/x-www-form-urlencoded", * @OA\Schema( - * required={"password", newPassword}, + * required={"password", "newPassword"}, * @OA\Property( * property="password", * type="string",