Skip to content

Commit 62c4220

Browse files
Adding note box about valid values for "interval"
Copied from https://symfony.com/doc/5.4/rate_limiter.html#configuration
1 parent 9e11eea commit 62c4220

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

security.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1466,6 +1466,12 @@ You must enable this using the ``login_throttling`` setting:
14661466
;
14671467
};
14681468
1469+
.. note::
1470+
1471+
The value of the ``interval`` option must be a number followed by any of the
1472+
units accepted by the `PHP date relative formats`_ (e.g. ``3 seconds``,
1473+
``10 hours``, ``1 day``, etc.)
1474+
14691475
.. versionadded:: 5.3
14701476

14711477
The ``login_throttling.interval`` option was introduced in Symfony 5.3.

0 commit comments

Comments
 (0)