Refactored models.
This commit is contained in:
parent
fee4b127b0
commit
fb11ba4652
34 changed files with 2006 additions and 2335 deletions
|
|
@ -520,7 +520,7 @@ class InstallCommand extends Command
|
|||
}
|
||||
|
||||
$userService = new UserService($userStore);
|
||||
$userService->createUser($admin['name'], $admin['email'], 'internal', json_encode(['type' => 'internal']), $admin['password'], true);
|
||||
$userService->createUser($admin['name'], $admin['email'], 'internal', ['type' => 'internal'], $admin['password'], true);
|
||||
|
||||
$output->writeln('<info>User account created!</info>');
|
||||
} catch (\Exception $ex) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue