merge_email_verifier #2

Merged
tracer merged 4 commits from merge_email_verifier into master 2022-11-01 16:36:51 +01:00
1 changed files with 1 additions and 3 deletions
Showing only changes of commit 388432feb9 - Show all commits

View File

@ -7,7 +7,6 @@ use App\Form\ChangePasswordFormType;
use App\Form\RegistrationFormType; use App\Form\RegistrationFormType;
use App\Form\ResetPasswordRequestFormType; use App\Form\ResetPasswordRequestFormType;
use App\Repository\UserRepository; use App\Repository\UserRepository;
use App\Security\EmailVerifier;
use Doctrine\ORM\EntityManagerInterface; use Doctrine\ORM\EntityManagerInterface;
use Exception; use Exception;
use Symfony\Bridge\Twig\Mime\TemplatedEmail; use Symfony\Bridge\Twig\Mime\TemplatedEmail;
@ -32,8 +31,7 @@ class SecurityController extends AbstractController
{ {
use ResetPasswordControllerTrait; use ResetPasswordControllerTrait;
public function __construct(private readonly EmailVerifier $emailVerifier, public function __construct(private readonly ResetPasswordHelperInterface $resetPasswordHelper,
private readonly ResetPasswordHelperInterface $resetPasswordHelper,
private readonly EntityManagerInterface $entityManager, private readonly EntityManagerInterface $entityManager,
private readonly VerifyEmailHelperInterface $verifyEmailHelper, private readonly VerifyEmailHelperInterface $verifyEmailHelper,
private readonly MailerInterface $mailer, private readonly MailerInterface $mailer,