Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1653,7 +1653,7 @@ and set the ``limiter`` option to its service ID:
<!-- 2nd argument is the limiter for username+IP -->
<srv:argument type="service" id="limiter.username_ip_login"/>
<!-- 3rd argument is the app secret -->
<srv:argument type="service" id="%kernel.secret%"/>
<srv:argument type="string">%kernel.secret%</srv:argument>
</srv:service>
</srv:services>

Expand Down Expand Up @@ -1697,7 +1697,7 @@ and set the ``limiter`` option to its service ID:
// 2nd argument is the limiter for username+IP
new Reference('limiter.username_ip_login'),
// 3rd argument is the app secret
new Reference('kernel.secret'),
param('kernel.secret'),
]);

$security->firewall('main')
Expand Down