diff --git a/src/Domain/Notification/Subscriber/NotificationEventSubscriber.php b/src/Domain/Notification/Subscriber/NotificationEventSubscriber.php index 3352548ce2ef94439b59650caeed41a2ad91a7c6..044b8def70e5b2f4042761659c1850f2f5ed4d5a 100644 --- a/src/Domain/Notification/Subscriber/NotificationEventSubscriber.php +++ b/src/Domain/Notification/Subscriber/NotificationEventSubscriber.php @@ -235,7 +235,7 @@ class NotificationEventSubscriber implements EventSubscriberInterface $notification->setCollectivity($user->getCollectivity()); $notification->setAction('notifications.actions.no_login'); $notification->setName($user->getFullName()); - $notification->setCreatedBy($user); + //$notification->setCreatedBy($user); $notification->setObject((object) $this->normalizer->normalize($user, null, self::normalizerOptions())); $notification->setDpo(true); $notification->setSubject($this->translator->trans('notifications.subject.no_login'));