Skip to content

Commit

Permalink
[Validator] Wire NotCompromisedPasswordValidator in the FrameworkBundle
Browse files Browse the repository at this point in the history
  • Loading branch information
tgalopin committed Apr 6, 2019
1 parent 01e2e79 commit c5cd75d
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -61,6 +61,12 @@
<tag name="validator.constraint_validator" alias="Symfony\Component\Validator\Constraints\EmailValidator" />
</service>

<service id="validator.not_compromised_password" class="Symfony\Component\Validator\Constraints\NotCompromisedPasswordValidator">
<argument type="service" id="http_client" on-invalid="null" />
<argument>%kernel.charset%</argument>
<tag name="validator.constraint_validator" alias="Symfony\Component\Validator\Constraints\NotCompromisedPasswordValidator" />
</service>

<service id="validator.property_info_loader" class="Symfony\Component\Validator\Mapping\Loader\PropertyInfoLoader">
<argument type="service" id="property_info" />
<argument type="service" id="property_info" />
Expand Down

0 comments on commit c5cd75d

Please sign in to comment.