Fixes for authentication and users
This commit is contained in:
parent
0a4636a379
commit
0ab4acd72f
6 changed files with 36 additions and 43 deletions
|
|
@ -466,7 +466,7 @@ class InstallCommand extends Command
|
|||
/** @var UserStore $userStore */
|
||||
$userStore = Factory::getStore('User');
|
||||
$userService = new UserService($userStore);
|
||||
$userService->createUser($admin['name'], $admin['email'], $admin['password'], 1);
|
||||
$userService->createUser($admin['name'], $admin['email'], 'default', json_encode(['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