mirror of
https://github.com/wallabag/wallabag.git
synced 2025-07-22 17:18:37 +00:00
rename User entity
This commit is contained in:
parent
29c4517f7a
commit
2f69eb4afa
3 changed files with 60 additions and 14 deletions
|
@ -5,7 +5,7 @@ namespace Wallabag\CoreBundle\Command;
|
|||
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Wallabag\CoreBundle\Entity\Users;
|
||||
use Wallabag\CoreBundle\Entity\User;
|
||||
use Wallabag\CoreBundle\Entity\UsersConfig;
|
||||
|
||||
class InstallCommand extends ContainerAwareCommand
|
||||
|
@ -128,7 +128,7 @@ class InstallCommand extends ContainerAwareCommand
|
|||
$dialog = $this->getHelperSet()->get('dialog');
|
||||
$em = $this->getContainer()->get('doctrine.orm.entity_manager');
|
||||
|
||||
$user = new Users();
|
||||
$user = new User();
|
||||
$user->setUsername($dialog->ask($output, '<question>Username</question> <comment>(default: wallabag)</comment> :', 'wallabag'));
|
||||
$user->setPassword($dialog->ask($output, '<question>Password</question> <comment>(default: wallabag)</comment> :', 'wallabag'));
|
||||
$user->setEmail($dialog->ask($output, '<question>Email:</question>', ''));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue