chg: [authkeys:add] Select logged-in user by default
parent
7ccf925247
commit
487670e522
|
@ -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'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue