Private
Public Access
chg: dev: remove registration notification #14
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user