Skip to content

Commit

Permalink
Merge branch '3.4' into 4.4
Browse files Browse the repository at this point in the history
* 3.4:
  [Security][Guard] Prevent user enumeration via response content
  • Loading branch information
nicolas-grekas committed May 12, 2021
2 parents e9cf8e6 + 84355ef commit a2416b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Resources/config/guard.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<argument type="service" id="security.authentication.session_strategy" />
</call>
</service>

<service id="Symfony\Component\Security\Guard\GuardAuthenticatorHandler" alias="security.authentication.guard_handler" />

<!-- See GuardAuthenticationFactory -->
Expand All @@ -42,6 +42,7 @@
<argument /> <!-- Provider-shared Key -->
<argument /> <!-- Authenticator -->
<argument type="service" id="logger" on-invalid="null" />
<argument>%security.authentication.hide_user_not_found%</argument>
</service>
</services>
</container>

0 comments on commit a2416b9

Please sign in to comment.