prugala / PRRecaptchaBundle

Recaptcha v3 bundle for Symfony
MIT License
14 stars 8 forks source link

Register form theme in Symfony 4.4 #22

Open thomas2411 opened 4 years ago

thomas2411 commented 4 years ago

In Symfony 4.4 you need to register form theme by yourself by adding in config/packages.twig.yaml

twig:
    form_themes: ['@PRRecaptcha/Form/recaptcha.html.twig']

Unfortunately registerTheme method in PRRecaptchaExtension doesn't work any more.

prugala commented 4 years ago

Hello, thanks for reporting a problem. I will try to fix/change it soon.