Issue Task Under Review

#111574Log failed backend password resets to sys_log

Benni Mack 11/25/26, 09:08 updated 12/04/26, 08:15

Description

The backend password reset writes an entry to sys_log when a reset is requested and when it succeeds, but a failed reset only reaches the PSR-3 logger. Administrators cannot see in the backend log that somebody tried to use a reset link and failed, or that a reset link was manipulated.

Failed resets for a known backend user should be added to sys_log as well, with a new login action “password reset failed” and the reason in the log data:

  • invalid reset token (tampered token or expiration date, or a link that was already used): security notice
  • expired reset link: warning
  • empty password, passwords do not match, password policy not fulfilled: warning

A reset link whose identity does not match any backend user is still only logged to the PSR-3 logger, in order to avoid flooding sys_log with anonymous requests.

Reviews 2

History 14

  1. Benni Mack changed tracker Feature Task target version TYPO3 Version 14 11/25/26, 09:20

  2. Gerrit Code Review pushed patch set 1 for main to change 98003 status New Under Review 11/25/26, 09:25

  3. Gerrit Code Review pushed patch set 1 for 14.3 to change 98313 12/04/26, 08:13

  4. Gerrit Code Review pushed patch set 2 for 14.3 to change 98313 12/04/26, 08:15