chg: [authkeys:add] Select logged-in user by default

refacto/CRUDComponent
Sami Mokaddem 2023-02-23 14:57:58 +01:00
parent 7ccf925247
commit 487670e522
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 1 additions and 0 deletions

View File

@ -103,6 +103,7 @@ class AuthKeysController extends AppController
$dropdownData = [ $dropdownData = [
'user' => $users 'user' => $users
]; ];
$this->entity->user_id = $currentUser['id'];
$this->set(compact('dropdownData')); $this->set(compact('dropdownData'));
} }
} }