mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-11-27 17:50:15 +00:00
Merge "TOTPKey: Fix log message"
This commit is contained in:
commit
e2da8c6796
|
@ -170,7 +170,7 @@ class TOTPKey implements IAuthKey {
|
||||||
// This is saved below via OATHUserRepository::persist
|
// This is saved below via OATHUserRepository::persist
|
||||||
array_splice( $this->recoveryCodes, $i, 1 );
|
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(),
|
'user' => $user->getAccount(),
|
||||||
'clientip' => $clientIP,
|
'clientip' => $clientIP,
|
||||||
] );
|
] );
|
||||||
|
|
Loading…
Reference in a new issue