Skip to content
Snippets Groups Projects
Commit 368cded9 authored by Pierre Fleutot's avatar Pierre Fleutot
Browse files

EMail création de compte : on envoie l'email mais on ne teste pas que l'user est activé

parent 095eb111
No related branches found
No related tags found
No related merge requests found
...@@ -20,11 +20,11 @@ class CheckVerifiedUserSubscriber implements EventSubscriberInterface ...@@ -20,11 +20,11 @@ class CheckVerifiedUserSubscriber implements EventSubscriberInterface
if (!$user instanceof User) { if (!$user instanceof User) {
throw new \Exception('Unexpected user type'); throw new \Exception('Unexpected user type');
} }
// if (!$user->getIsVerified()) { if (!$user->getIsVerified()) {
// throw new CustomUserMessageAuthenticationException( throw new CustomUserMessageAuthenticationException(
// "Veuillez confirmer la création de votre compte depuis l'email reçu." "Veuillez confirmer la création de votre compte depuis l'email reçu."
// ); );
// } }
} }
public static function getSubscribedEvents() public static function getSubscribedEvents()
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment