From 62c42202fd4b9dfa84da93ea6940f82fae3ed15d Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Mon, 15 Aug 2022 01:32:43 +0200 Subject: [PATCH] Adding note box about valid values for "interval" Copied from https://symfony.com/doc/5.4/rate_limiter.html#configuration --- security.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/security.rst b/security.rst index 2cf429e6dd4..d3ec2537693 100644 --- a/security.rst +++ b/security.rst @@ -1466,6 +1466,12 @@ You must enable this using the ``login_throttling`` setting: ; }; +.. note:: + + The value of the ``interval`` option must be a number followed by any of the + units accepted by the `PHP date relative formats`_ (e.g. ``3 seconds``, + ``10 hours``, ``1 day``, etc.) + .. versionadded:: 5.3 The ``login_throttling.interval`` option was introduced in Symfony 5.3.