#111574Log failed backend password resets to sys_log
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
-
Benni Mack changed tracker
FeatureTask target version TYPO3 Version 14 11/25/26, 09:20 -
Gerrit Code Review pushed patch set 1 for main to change 98003 status
NewUnder Review 11/25/26, 09:25 -
Gerrit Code Review pushed patch set 1 for 14.3 to change 98313 12/04/26, 08:13
-
Gerrit Code Review pushed patch set 2 for 14.3 to change 98313 12/04/26, 08:15