Skip to content

Commit

Permalink
lets not use symfony/form
Browse files Browse the repository at this point in the history
  • Loading branch information
jrushlow committed Apr 26, 2022
1 parent 5f032d2 commit 0cf32d3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Maker/MakeAuthenticator.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Question\Question;
use Symfony\Component\Form\Form;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
Expand Down Expand Up @@ -125,8 +124,8 @@ public function interact(InputInterface $input, ConsoleStyle $io, Command $comma
);

if (self::AUTH_TYPE_FORM_LOGIN === $input->getArgument('authenticator-type')) {
$neededDependencies = [TwigBundle::class => 'twig', Form::class => 'symfony/form'];
$missingPackagesMessage = $this->addDependencies($neededDependencies, 'Twig and symfony/form must be installed to display the login form.');
$neededDependencies = [TwigBundle::class => 'twig'];
$missingPackagesMessage = $this->addDependencies($neededDependencies, 'Twig must be installed to display the login form.');

if ($missingPackagesMessage) {
throw new RuntimeCommandException($missingPackagesMessage);
Expand Down

0 comments on commit 0cf32d3

Please sign in to comment.