We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33ee512 commit 0436740Copy full SHA for 0436740
src/bundle/Controller/UserInvitationController.php
@@ -52,10 +52,6 @@ public function inviteUser(Request $request): FormView
52
/** @var \Ibexa\User\Form\Data\UserInvitationData $data */
53
$data = $form->getData();
54
55
- if ($data->getEmail() === null){
56
- throw new InvalidArgumentException('Email cannot be null');
57
- }
58
-
59
try {
60
$invitation = $this->invitationService->createInvitation(
61
new InvitationCreateStruct(
0 commit comments