diff --git a/Classes/Controller/NewController.php b/Classes/Controller/NewController.php index 99bb7abd4..29aa3c1e0 100644 --- a/Classes/Controller/NewController.php +++ b/Classes/Controller/NewController.php @@ -513,8 +513,13 @@ public function resendConfirmationDialogueAction(): ResponseInterface */ public function resendConfirmationMailAction(): ResponseInterface { + // data may either come from a registration or resendconfirmationmail plugin // @todo find a better way to fetch the data - $result = $this->request->getParsedBody()['tx_femanager_resendconfirmationmail'] ?? $this->request->getQueryParams()['tx_femanager_resendconfirmationmail'] ?? null; + $result = $this->request->getParsedBody()['tx_femanager_resendconfirmationmail'] + ?? $this->request->getQueryParams()['tx_femanager_resendconfirmationmail'] + ?? $this->request->getParsedBody()['tx_femanager_registration'] + ?? $this->request->getQueryParams()['tx_femanager_registration'] + ?? null; if (is_array($result)) { $mail = $result['user']['email'] ?? ''; if ($mail && GeneralUtility::validEmail($mail)) {