Review 13.4 Merged

89602[TASK] Use symfony rate limiter for backend password recovery

Oliver Hader CR +2 V +2 Normal +88 −28 updated 06/02/25, 10:22

Commit message

The backend password reset functionality currently relies
on a hardcoded rate limit of 3 attempts within 30 minutes,
evaluated via sys_log entries.

This change replaces the custom logic with the Symfony
RateLimiter component, aligning it with the approach used
in ext:felogin.

The default configuration of 3 attempts within 30 minutes
is preserved and can now be adjusted via dependency
injection.

A new functional test ensures that the rate limiter is
correctly applied during backend password recovery.

Review

  • Code review CR +2 Done
    • Oliver Hader +2
  • Verified V +2 Done
    • Oliver Hader +2
    • core-ci +1 CI

Issues 1

Files 3

Review log 34

  1. Oliver Hader uploaded patch set 1 06/02/25, 09:36

  2. core-ci voted on patch set 1 V +1 06/02/25, 09:42 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/79742

  3. Oliver Hader voted on patch set 1 CR +2 V +2 06/02/25, 10:21

  4. Oliver Hader merged patch set 2 06/02/25, 10:22