From 8f06a8c416d2c83838e1aecd0ab80a3ff2b77de3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Fri, 5 Feb 2016 13:55:50 +0100 Subject: User created via wallabag:install is now a SUPER_ADMIN :crown: --- src/Wallabag/CoreBundle/Command/InstallCommand.php | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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 $user->setEmail($questionHelper->ask($this->defaultInput, $this->defaultOutput, $question)); $user->setEnabled(true); + $user->addRole('ROLE_SUPER_ADMIN'); $em->persist($user); -- cgit v1.2.3