diff options
-rw-r--r-- | src/Wallabag/CoreBundle/Command/InstallCommand.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Command/InstallCommand.php b/src/Wallabag/CoreBundle/Command/InstallCommand.php index e6a06eea..69fb0a6f 100644 --- a/src/Wallabag/CoreBundle/Command/InstallCommand.php +++ b/src/Wallabag/CoreBundle/Command/InstallCommand.php | |||
@@ -201,6 +201,7 @@ class InstallCommand extends ContainerAwareCommand | |||
201 | $user->setEmail($questionHelper->ask($this->defaultInput, $this->defaultOutput, $question)); | 201 | $user->setEmail($questionHelper->ask($this->defaultInput, $this->defaultOutput, $question)); |
202 | 202 | ||
203 | $user->setEnabled(true); | 203 | $user->setEnabled(true); |
204 | $user->addRole('ROLE_SUPER_ADMIN'); | ||
204 | 205 | ||
205 | $em->persist($user); | 206 | $em->persist($user); |
206 | 207 | ||