Skip to content

Commit 4551ea2

Browse files
Adding info where login attempts are stored
1 parent 281fda0 commit 4551ea2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

security.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1470,6 +1470,10 @@ You must enable this using the ``login_throttling`` setting:
14701470

14711471
The ``login_throttling.interval`` option was introduced in Symfony 5.3.
14721472

1473+
Internally, Symfony uses the :doc:`Rate Limiter component </rate_limiter>`
1474+
which by default uses Symfony's cache to store the previous login attempts.
1475+
However, you can implement a custom storage.
1476+
14731477
By default, login attempts are limited on ``max_attempts`` (default: 5)
14741478
failed requests for ``IP address + username`` and ``5 * max_attempts``
14751479
failed requests for ``IP address``. The second limit protects against an

0 commit comments

Comments
 (0)