Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If powermail action is optinConfirm spam check should be skipped #20

Open
hansup opened this issue Mar 30, 2022 · 1 comment
Open

If powermail action is optinConfirm spam check should be skipped #20

hansup opened this issue Mar 30, 2022 · 1 comment

Comments

@hansup
Copy link

hansup commented Mar 30, 2022

Likewise the form action 'create' in combination with the flexform setting 'confirmationActive==1', the form action 'optinConfirm' in combination with the flexform setting 'optin==1' should skip the spam check so the user will not get the message "Spam recognized: 90% Spam chance in this message!" and the optin action is completed.

   if (property_exists($this, 'flexForm')) {
       $confirmationActive = $this->flexForm['settings']['flexform']['main']['confirmation'] === '1';
       $optinActive = $this->flexForm['settings']['flexform']['main']['optin'] === '1';
       $formAction = $this->getActionName();
       if ($formAction === 'create' && $confirmationActive || $formAction === 'optinConfirm' && $optinActive) {
           return true;
       }
   }
@abvdveen
Copy link

abvdveen commented Aug 4, 2022

Could this be added in a next release? Now I have to add the ext manually to my typo3 exts, not with composer, to be able to modify the code myself.

@sbusemann sbusemann added this to the under investigation milestone Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants