File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -1601,6 +1601,7 @@ and set the ``limiter`` option to its service ID:
16011601 $globalFactory : ' @limiter.ip_login'
16021602 # localFactory is the limiter for username+IP
16031603 $localFactory : ' @limiter.username_ip_login'
1604+ $secret : ' %kernel.secret%'
16041605
16051606 security :
16061607 firewalls :
@@ -1651,6 +1652,8 @@ and set the ``limiter`` option to its service ID:
16511652 <srv : argument type =" service" id =" limiter.ip_login" />
16521653 <!-- 2nd argument is the limiter for username+IP -->
16531654 <srv : argument type =" service" id =" limiter.username_ip_login" />
1655+ <!-- 3rd argument is the app secret -->
1656+ <srv : argument type =" service" id =" %kernel.secret%" />
16541657 </srv : service >
16551658 </srv : services >
16561659
@@ -1693,6 +1696,8 @@ and set the ``limiter`` option to its service ID:
16931696 new Reference('limiter.ip_login'),
16941697 // 2nd argument is the limiter for username+IP
16951698 new Reference('limiter.username_ip_login'),
1699+ // 3rd argument is the app secret
1700+ new Reference('kernel.secret'),
16961701 ]);
16971702
16981703 $security->firewall('main')
You can’t perform that action at this time.
0 commit comments