From 388432feb99a53682ebf545169185fb8aad1fb28 Mon Sep 17 00:00:00 2001 From: tracer Date: Tue, 1 Nov 2022 16:35:28 +0100 Subject: [PATCH] merged EmailVerifier --- src/Controller/SecurityController.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Controller/SecurityController.php b/src/Controller/SecurityController.php index 5f24a08..448d76b 100644 --- a/src/Controller/SecurityController.php +++ b/src/Controller/SecurityController.php @@ -7,7 +7,6 @@ use App\Form\ChangePasswordFormType; use App\Form\RegistrationFormType; use App\Form\ResetPasswordRequestFormType; use App\Repository\UserRepository; -use App\Security\EmailVerifier; use Doctrine\ORM\EntityManagerInterface; use Exception; use Symfony\Bridge\Twig\Mime\TemplatedEmail; @@ -32,8 +31,7 @@ class SecurityController extends AbstractController { use ResetPasswordControllerTrait; - public function __construct(private readonly EmailVerifier $emailVerifier, - private readonly ResetPasswordHelperInterface $resetPasswordHelper, + public function __construct(private readonly ResetPasswordHelperInterface $resetPasswordHelper, private readonly EntityManagerInterface $entityManager, private readonly VerifyEmailHelperInterface $verifyEmailHelper, private readonly MailerInterface $mailer,