File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -360,6 +360,8 @@ the :class:`Symfony\\Component\\RateLimiter\\Reservation` object returned by the
360360 }
361361 }
362362
363+ .. _rate-limiter-storage :
364+
363365Storing Rate Limiter State
364366--------------------------
365367
Original file line number Diff line number Diff line change @@ -1462,6 +1462,10 @@ You must enable this using the ``login_throttling`` setting:
14621462
14631463 The ``login_throttling.interval `` option was introduced in Symfony 5.3.
14641464
1465+ Internally, Symfony uses the :doc: `Rate Limiter component </rate_limiter >`
1466+ which by default uses Symfony's cache to store the previous login attempts.
1467+ However, you can implement a :ref: `custom storage <rate-limiter-storage >`.
1468+
14651469Login attempts are limited on ``max_attempts `` (default: 5)
14661470failed requests for ``IP address + username `` and ``5 * max_attempts ``
14671471failed requests for ``IP address ``. The second limit protects against an
You can’t perform that action at this time.
0 commit comments