mirror of https://github.com/MISP/MISP
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
parent
eb9b60032e
commit
5391611d75
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue