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
Andras Iklody 2020-11-29 12:10:53 +01:00 committed by GitHub
parent db463d3ba6
commit 8fbdaddca2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ class User extends AppModel
if ($db_version['AdminSetting']['value'] >= 62) {
$this->bindModel([
'hasMany' => ['AuthKey']
]);
], false);
}
}