Gregwar / CaptchaBundle

Symfony bundle implementing a "captcha" form type
MIT License
346 stars 126 forks source link

Get invalid captcha message with correct captha #194

Open naviloper opened 5 years ago

naviloper commented 5 years ago

Hi,

After I have updated CaptchaBundle in login form I always get 'invalid captcha'. In my application I did not change any other things. I just update my vendors.

naviloper commented 5 years ago

Hi again, I downgraded from 2.0.6 to 2.0.5 and my problem resolved. It seems that there is a problem in release 2.0.6

Anyqax commented 5 years ago

since 2.0.6 the captcha whitelist key is always prefixed with "_captcha" and by default followed by "captcha", unless you specify otherwise in the form builder options

if unchanged it is "_captcha_captcha"

https://github.com/Gregwar/CaptchaBundle/pull/172/files

naviloper commented 5 years ago

since 2.0.6 the captcha whitelist key is always prefixed with "_captcha" and by default followed by "captcha", unless you specify otherwise in the form builder options

if unchanged it is "_captcha_captcha"

https://github.com/Gregwar/CaptchaBundle/pull/172/files

Thank you for response. I will check it and I will write result here