Skip to content

Commit a2416b9

Browse files
Merge branch '3.4' into 4.4
* 3.4: [Security][Guard] Prevent user enumeration via response content
2 parents e9cf8e6 + 84355ef commit a2416b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Resources/config/guard.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<argument type="service" id="security.authentication.session_strategy" />
1818
</call>
1919
</service>
20-
20+
2121
<service id="Symfony\Component\Security\Guard\GuardAuthenticatorHandler" alias="security.authentication.guard_handler" />
2222

2323
<!-- See GuardAuthenticationFactory -->
@@ -42,6 +42,7 @@
4242
<argument /> <!-- Provider-shared Key -->
4343
<argument /> <!-- Authenticator -->
4444
<argument type="service" id="logger" on-invalid="null" />
45+
<argument>%security.authentication.hide_user_not_found%</argument>
4546
</service>
4647
</services>
4748
</container>

0 commit comments

Comments
 (0)