TOTPKey: Fix log message

Follows-Up: Ief577fb3e6adbf72b374d86df67529c46e4fe83e
Change-Id: Ie1b396987244685c4cdc15b8425f1f2d7b24c5fa
(cherry picked from commit 620e3d251b)
This commit is contained in:
Reedy 2024-01-11 16:03:48 +00:00
parent b8cb2333dd
commit ec64f26334

View file

@ -198,7 +198,7 @@ class TOTPKey implements IAuthKey {
// This is saved below via OATHUserRepository::persist, TOTP::getDataFromUser.
array_splice( $this->scratchTokens, $i, 1 );
$logger->info( 'OATHAuth user {user} used a recovery token code from {clientip}', [
$logger->info( 'OATHAuth user {user} used a recovery token from {clientip}', [
'user' => $user->getAccount(),
'clientip' => $clientIP,
] );