TOTPKey: Fix log message

Follows-Up: Ief577fb3e6adbf72b374d86df67529c46e4fe83e
Change-Id: Ie1b396987244685c4cdc15b8425f1f2d7b24c5fa
This commit is contained in:
Reedy 2024-01-11 16:03:48 +00:00
parent 0f026d7999
commit 620e3d251b

View file

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