fix: [default user] Added default first/lastname
parent
e26c0d0958
commit
0fbec5374c
|
@ -54,7 +54,9 @@ class UsersTable extends AppTable
|
||||||
$this->Roles->save($role);
|
$this->Roles->save($role);
|
||||||
$this->Individuals = TableRegistry::get('Individuals');
|
$this->Individuals = TableRegistry::get('Individuals');
|
||||||
$individual = $this->Individuals->newEntity([
|
$individual = $this->Individuals->newEntity([
|
||||||
'email' => 'admin@admin.test'
|
'email' => 'admin@admin.test',
|
||||||
|
'first_name' => 'admin',
|
||||||
|
'last_name' => 'admin'
|
||||||
]);
|
]);
|
||||||
$this->Individuals->save($individual);
|
$this->Individuals->save($individual);
|
||||||
$user = $this->newEntity([
|
$user = $this->newEntity([
|
||||||
|
|
Loading…
Reference in New Issue