From acd804b7583e1f4c6260bd578a2123507e556527 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Suwi=C5=84ski?= Date: Mon, 13 Feb 2023 14:45:13 +0100 Subject: [PATCH] include default validation group --- core/user.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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),