diff --git a/core/user.md b/core/user.md index 2871b6569f5..f65ed7825d9 100644 --- a/core/user.md +++ b/core/user.md @@ -33,7 +33,7 @@ use Symfony\Component\Validator\Constraints as Assert; #[ApiResource( operations: [ new GetCollection(), - new Post(processor: UserPasswordHasher::class, validationContext: ['groups' => ['user:create']]), + new Post(processor: UserPasswordHasher::class, validationContext: ['groups' => ['Default', 'user:create']]), new Get(), new Put(processor: UserPasswordHasher::class), new Patch(processor: UserPasswordHasher::class),