mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-24 16:40:30 +00:00
User created via wallabag:install is now a SUPER_ADMIN 👑
This commit is contained in:
parent
704ed658a9
commit
8f06a8c416
1 changed files with 1 additions and 0 deletions
|
@ -201,6 +201,7 @@ class InstallCommand extends ContainerAwareCommand
|
|||
$user->setEmail($questionHelper->ask($this->defaultInput, $this->defaultOutput, $question));
|
||||
|
||||
$user->setEnabled(true);
|
||||
$user->addRole('ROLE_SUPER_ADMIN');
|
||||
|
||||
$em->persist($user);
|
||||
|
||||
|
|
Loading…
Reference in a new issue