solved logger error bug
This commit is contained in:
parent
85e3de647c
commit
ce82296fa6
|
|
@ -945,7 +945,7 @@ class UserController extends AbstractController
|
|||
$data = ['user' => $uo->getUsers(), 'organization' => $uo->getOrganization()];
|
||||
$token = $this->userService->generatePasswordToken($user, $org->getId());
|
||||
$this->emailService->sendPasswordSetupEmail($user, $token);
|
||||
$this->logger->info("Invitation email resent to user " . $user->getUserIdentifier() . " for organization " . $org->getName());
|
||||
$this->loggerService->logEmailSent($userId, $org->getId(), 'Invitation Resent');
|
||||
$this->organizationsService->notifyOrganizationAdmins($data, 'USER_INVITED');
|
||||
return $this->json(['message' => 'Invitation envoyée avec success.'], Response::HTTP_OK);
|
||||
} catch (\Exception $e) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue