Merge pull request #5559 from JakubOnderka/patch-77

fix: [log] Proper format log message for reset auth key
pull/5562/head
Andras Iklody 2020-01-27 19:12:19 +01:00 committed by GitHub
commit c1518ccdd4
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) {