captcha-eu / typo3

GNU General Public License v2.0
0 stars 2 forks source link

TYPO3 Form Backend doesn't shows up labels for captcha.eu field and I can submit forms with wrong keys #10

Open Mon-Tea opened 7 months ago

Mon-Tea commented 7 months ago

If I enter the backend of TYPO3 11.5.35 and the form module, I can add the captcha.eu field, but can't see any labels or the icon, which shows up here in the last image: https://docs.captcha.eu/typo3-install Bildschirmfoto 2024-02-21 um 18 38 36

I also can't open the Finisher, which is on the right side. Bildschirmfoto 2024-02-21 um 18 39 31

Perhaps that the reason, why every form-send works with correct keys and with wrong keys.

I can send every form with this config:

captchaeu_host: 'https://www.captcha.eu'
captchaeu_key_public: falsch
captchaeu_key_rest: falsch

I did all the steps which where described here: https://docs.captcha.eu/typo3-install?id=-form

Thank you

hjanuschka commented 7 months ago

good catch.

2 issues in here:

Backend display

it seems to some issue, im not soo deep into typo3 to debug it, for now it seems to work and add the form + validator. (happy to accept a PR that fixes this rendering issue)

Validations

the PHP code - had some "sane" defaults, that accepted every submit in case of a invalid key. just published v1.0.6 which has, our main PHP part of either true/false no matter what. (tested it on a fresh 11.x ddev instance, works now as expected)