File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1653,7 +1653,7 @@ and set the ``limiter`` option to its service ID:
1653
1653
<!-- 2nd argument is the limiter for username+IP -->
1654
1654
<srv : argument type =" service" id =" limiter.username_ip_login" />
1655
1655
<!-- 3rd argument is the app secret -->
1656
- <srv : argument type =" service " id = " %kernel.secret%" / >
1656
+ <srv : argument type =" string " > %kernel.secret%</ srv : argument >
1657
1657
</srv : service >
1658
1658
</srv : services >
1659
1659
@@ -1697,7 +1697,7 @@ and set the ``limiter`` option to its service ID:
1697
1697
// 2nd argument is the limiter for username+IP
1698
1698
new Reference('limiter.username_ip_login'),
1699
1699
// 3rd argument is the app secret
1700
- new Reference ('kernel.secret'),
1700
+ param ('kernel.secret'),
1701
1701
]);
1702
1702
1703
1703
$security->firewall('main')
You can’t perform that action at this time.
0 commit comments