chg: dev: remove registration notification #14

This commit is contained in:
2026-07-27 18:16:08 +02:00
parent 1a97c2c4b4
commit 4bf7ac358d
3 changed files with 0 additions and 170 deletions
-3
View File
@@ -18,7 +18,6 @@ use App\Repository\UserRepository;
use App\Service\Email\SendActivationEmailService;
use App\Service\Email\SendPasswordResetEmailService;
use App\Service\Email\SendUserActivationNotificationService;
use App\Service\Email\SendUserRegistrationNotificationService;
use DateTime;
use Doctrine\ORM\EntityManagerInterface;
use LogicException;
@@ -55,7 +54,6 @@ class SecurityController extends AbstractController
private readonly SendActivationEmailService $activationEmail,
private readonly SendPasswordResetEmailService $passwordResetEmail,
private readonly SendUserActivationNotificationService $activationNotificationEmail,
private readonly SendUserRegistrationNotificationService $registrationNotificationEmail,
) {
}
@@ -112,7 +110,6 @@ class SecurityController extends AbstractController
}
$this->activationEmail->send($user, $activationUrl);
$this->registrationNotificationEmail->send($user, new DateTime());
$this->addFlash('verify_email', $user->email);