We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4994e36 commit 0ed3365Copy full SHA for 0ed3365
core/user.md
@@ -33,7 +33,7 @@ use Symfony\Component\Validator\Constraints as Assert;
33
#[ApiResource(
34
operations: [
35
new GetCollection(),
36
- new Post(processor: UserPasswordHasher::class),
+ new Post(processor: UserPasswordHasher::class, validationContext: ['groups' => ['user:create']]),
37
new Get(),
38
new Put(processor: UserPasswordHasher::class),
39
new Patch(processor: UserPasswordHasher::class),
0 commit comments