mirror of https://github.com/MISP/MISP
fix: [bindmodel] added reset = false to the linking of users to authkeys
- added reset = false in parameters (otherwise consecutive calls to the user model will not include the relation)pull/6668/head
parent
db463d3ba6
commit
8fbdaddca2
|
@ -234,7 +234,7 @@ class User extends AppModel
|
|||
if ($db_version['AdminSetting']['value'] >= 62) {
|
||||
$this->bindModel([
|
||||
'hasMany' => ['AuthKey']
|
||||
]);
|
||||
], false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue