Commit fbc58c7d authored by Nicolas Widart's avatar Nicolas Widart

Attach the correct role to the user

parent 7dcc51d7
...@@ -101,7 +101,7 @@ class InstallCommand extends Command ...@@ -101,7 +101,7 @@ class InstallCommand extends Command
'email' => $email, 'email' => $email,
'password' => Hash::make($password), 'password' => Hash::make($password),
]; ];
$this->user->createWithRoles($userInfo, ['Admin']); $this->user->createWithRoles($userInfo, [1]);
$this->info('Admin account created!'); $this->info('Admin account created!');
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment