genemu/GenemuFormBundle

Unable to customize recaptcha error/recaptcha returns server error on invalid input

Opened this issue · 0 comments

I have the recaptcha widget working, but I am having a minor issue with the error response. When I enter a correct answer, the form validates fine, but when I answer incorrectly I receive the following error:
"Unable to check the captcha from the server. (incorrect-captcha-sol)"

I tried to change this error message using 'invalid_message' => 'captcha invalid please try again' in the options array, but I still receive the server error.

Is this the error that is supposed to be returned for invalid input? If so, how can I change it?