fix: [log] Proper format log message for reset auth key

In future, it will be also possible to filter auth keys in logs.
pull/5559/head
Jakub Onderka 2020-01-27 16:58:46 +01:00 committed by GitHub
parent eb9b60032e
commit 5391611d75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1373,7 +1373,7 @@ class User extends AppModel
$updatedUser['User']['id'],
$updatedUser['User']['email']
),
$fieldsResult = 'authkey(' . $oldKey . ') => (' . $newkey . ')',
$fieldsResult = ['authkey' => [$oldKey, $newkey]],
$updatedUser
);
if ($alert) {