From a2e1f5547c8cd797f9a7a0fe3636abbdbb5ad35d Mon Sep 17 00:00:00 2001 From: Fabrice Gares Date: Mon, 11 Dec 2023 00:43:31 +0100 Subject: [PATCH] Update security.rst --- security.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/security.rst b/security.rst index d38c9cf731d..c62104497c6 100644 --- a/security.rst +++ b/security.rst @@ -1601,6 +1601,7 @@ and set the ``limiter`` option to its service ID: $globalFactory: '@limiter.ip_login' # localFactory is the limiter for username+IP $localFactory: '@limiter.username_ip_login' + $secret: '%kernel.secret%' security: firewalls: @@ -1651,6 +1652,8 @@ and set the ``limiter`` option to its service ID: + + @@ -1693,6 +1696,8 @@ and set the ``limiter`` option to its service ID: new Reference('limiter.ip_login'), // 2nd argument is the limiter for username+IP new Reference('limiter.username_ip_login'), + // 3rd argument is the app secret + new Reference('kernel.secret'), ]); $security->firewall('main')