mirror of https://github.com/MISP/MISP
fix: Leaking of hashed passwords in the audit logs fixed
- Scope was limited due to the audit log access restrictions to site/org adminspull/2697/head
parent
8794af9118
commit
7d5890b2fc
|
@ -644,7 +644,7 @@ class UsersController extends AppController {
|
|||
$c = 0;
|
||||
foreach ($fields as $field) {
|
||||
if (isset($fieldsOldValues[$c]) && $fieldsOldValues[$c] != $fieldsNewValues[$c]) {
|
||||
if ($field != 'confirm_password') {
|
||||
if ($field != 'confirm_password' && $field != 'enable_password') {
|
||||
$fieldsResultStr = $fieldsResultStr . ', ' . $field . ' (' . $fieldsOldValues[$c] . ') => (' . $fieldsNewValues[$c] . ')';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue