Skip to content
Snippets Groups Projects
Commit 6d6eff17 authored by Torben Hansen's avatar Torben Hansen Committed by Benni Mack
Browse files

[TASK] Streamline backend password reset log message


The current backend password reset log message misses a `}` and logs
the `user_id` if a password has been reset successfully. Logging the
`user_id` is however not inline with other user related log messages,
where always the `username` is logged.

This patch streamlines the log message with other user related log
messages by including the `username` instead of the `user_id`.

Resolves: #99354
Releases: main, 12.4
Signed-off-by: default avatarTorben Hansen <derhansen@gmail.com>
Change-Id: If18d3b4cd1a76008f56f5433e8ff5d591898d2ad
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/79824


Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarcore-ci <typo3@b13.com>
parent d9c29986
Branches
Tags
No related merge requests found
......@@ -352,7 +352,7 @@ class PasswordReset implements LoggerAwareInterface
$this->invalidateUserSessions($userId);
$this->logger->info('Password reset successful for user {user_id)', ['user_id' => $userId]);
$this->logger->info('Password reset successful for user \'{username}\'', ['username' => $user['username'], 'user_id' => $userId]);
$this->log(
'Password reset successful for user %s',
SystemLogLoginAction::PASSWORD_RESET_ACCOMPLISHED,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment