Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion Classes/Controller/NewController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down
Loading