You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to implement sr_freecap with femanager, but the captcha validation always fails.
Maybe this error doesn't just occur in my project, so here is a solution I found.
TYPO3 setup:
TYPO3 v12.4
femanager v8
sr-freecap v12.4
In femanager/Classes/Domain/ValidatorCaptchaValidator.php is a function called validCaptcha. That function tries to access the captcha value given by the user.
It wants to read from $this->pluginVariables['captcha'], but that value doesn't exist. The value is located at $this->pluginVariables['tx_femanager_registration']['captcha'].
I wanted to implement sr_freecap with femanager, but the captcha validation always fails.
Maybe this error doesn't just occur in my project, so here is a solution I found.
TYPO3 setup:
In
femanager/Classes/Domain/ValidatorCaptchaValidator.php
is a function calledvalidCaptcha
. That function tries to access the captcha value given by the user.It wants to read from
$this->pluginVariables['captcha']
, but that value doesn't exist. The value is located at$this->pluginVariables['tx_femanager_registration']['captcha']
.Here is the updated function that works for me:
The text was updated successfully, but these errors were encountered: