diff --git a/security.rst b/security.rst index aaf2f600a21..80fbbb1c2f1 100644 --- a/security.rst +++ b/security.rst @@ -1653,7 +1653,7 @@ and set the ``limiter`` option to its service ID: - + %kernel.secret% @@ -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')