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 @@ -1587,6 +1587,7 @@ and set the ``limiter`` option to its service ID:
15871587 $globalFactory : ' @limiter.ip_login'
15881588 # localFactory is the limiter for username+IP
15891589 $localFactory : ' @limiter.username_ip_login'
1590+ $secret : ' %kernel.secret%'
15901591
15911592 security :
15921593 firewalls :
@@ -1637,6 +1638,8 @@ and set the ``limiter`` option to its service ID:
16371638 <srv : argument type =" service" id =" limiter.ip_login" />
16381639 <!-- 2nd argument is the limiter for username+IP -->
16391640 <srv : argument type =" service" id =" limiter.username_ip_login" />
1641+ <!-- 3rd argument is the app secret -->
1642+ <srv : argument type =" service" id =" %kernel.secret%" />
16401643 </srv : service >
16411644 </srv : services >
16421645
@@ -1679,6 +1682,8 @@ and set the ``limiter`` option to its service ID:
16791682 new Reference('limiter.ip_login'),
16801683 // 2nd argument is the limiter for username+IP
16811684 new Reference('limiter.username_ip_login'),
1685+ // 3rd argument is the app secret
1686+ new Reference('kernel.secret'),
16821687 ]);
16831688
16841689 $security->firewall('main')
You can’t perform that action at this time.
0 commit comments