Skip to content

Commit 2c38498

Browse files
author
Damien Carrier
committed
[Security] Fixing PHP example for limiting login attempts with rate limiter
1 parent 17e4ec5 commit 2c38498

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1697,7 +1697,7 @@ and set the ``limiter`` option to its service ID:
16971697
// 2nd argument is the limiter for username+IP
16981698
new Reference('limiter.username_ip_login'),
16991699
// 3rd argument is the app secret
1700-
new Reference('kernel.secret'),
1700+
param('kernel.secret'),
17011701
]);
17021702
17031703
$security->firewall('main')

0 commit comments

Comments
 (0)