mirror of https://github.com/MISP/MISP
chg: [internal] Do not fetch password from db
parent
81eddfdb76
commit
44fbf45ce5
|
@ -911,6 +911,8 @@ class User extends AppModel
|
|||
// Do not include keys, because they are big and usually not necessary
|
||||
unset($fields['gpgkey']);
|
||||
unset($fields['certif_public']);
|
||||
// Do not fetch password from db, it is automatically fetched by BaseAuthenticate::_findUser
|
||||
unset($fields['password']);
|
||||
$fields = array_keys($fields);
|
||||
|
||||
foreach ($this->belongsTo as $relatedModel => $foo) {
|
||||
|
|
Loading…
Reference in New Issue