diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Command')
-rw-r--r-- | src/Wallabag/CoreBundle/Command/InstallCommand.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Command/InstallCommand.php b/src/Wallabag/CoreBundle/Command/InstallCommand.php index 32180020..feaaebf6 100644 --- a/src/Wallabag/CoreBundle/Command/InstallCommand.php +++ b/src/Wallabag/CoreBundle/Command/InstallCommand.php | |||
@@ -5,7 +5,7 @@ namespace Wallabag\CoreBundle\Command; | |||
5 | use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; | 5 | use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; |
6 | use Symfony\Component\Console\Input\InputInterface; | 6 | use Symfony\Component\Console\Input\InputInterface; |
7 | use Symfony\Component\Console\Output\OutputInterface; | 7 | use Symfony\Component\Console\Output\OutputInterface; |
8 | use Wallabag\CoreBundle\Entity\Users; | 8 | use Wallabag\CoreBundle\Entity\User; |
9 | use Wallabag\CoreBundle\Entity\UsersConfig; | 9 | use Wallabag\CoreBundle\Entity\UsersConfig; |
10 | 10 | ||
11 | class InstallCommand extends ContainerAwareCommand | 11 | class InstallCommand extends ContainerAwareCommand |
@@ -128,7 +128,7 @@ class InstallCommand extends ContainerAwareCommand | |||
128 | $dialog = $this->getHelperSet()->get('dialog'); | 128 | $dialog = $this->getHelperSet()->get('dialog'); |
129 | $em = $this->getContainer()->get('doctrine.orm.entity_manager'); | 129 | $em = $this->getContainer()->get('doctrine.orm.entity_manager'); |
130 | 130 | ||
131 | $user = new Users(); | 131 | $user = new User(); |
132 | $user->setUsername($dialog->ask($output, '<question>Username</question> <comment>(default: wallabag)</comment> :', 'wallabag')); | 132 | $user->setUsername($dialog->ask($output, '<question>Username</question> <comment>(default: wallabag)</comment> :', 'wallabag')); |
133 | $user->setPassword($dialog->ask($output, '<question>Password</question> <comment>(default: wallabag)</comment> :', 'wallabag')); | 133 | $user->setPassword($dialog->ask($output, '<question>Password</question> <comment>(default: wallabag)</comment> :', 'wallabag')); |
134 | $user->setEmail($dialog->ask($output, '<question>Email:</question>', '')); | 134 | $user->setEmail($dialog->ask($output, '<question>Email:</question>', '')); |