Closed damienalexandre closed 2 years ago
I notice there is a major difference between IsTrueValidatorV3 and IsTrueValidator, only the latest use the bundle declared service ewz_recaptcha.recaptcha.
IsTrueValidatorV3
IsTrueValidator
ewz_recaptcha.recaptcha
That mean there is no way to configure the proxy for example:
https://github.com/excelwebzone/EWZRecaptchaBundle/blob/db5a2a88ff6f95807db71432d70a93e5d82205e0/src/Validator/Constraints/IsTrueValidatorV3.php#L94
The class ReCaptcha should not be booted by the validator, the service ewz_recaptcha.recaptcha should be injected.
Ok I will give it another look.
Fixed!
I notice there is a major difference between
IsTrueValidatorV3
andIsTrueValidator
, only the latest use the bundle declared serviceewz_recaptcha.recaptcha
.That mean there is no way to configure the proxy for example:
https://github.com/excelwebzone/EWZRecaptchaBundle/blob/db5a2a88ff6f95807db71432d70a93e5d82205e0/src/Validator/Constraints/IsTrueValidatorV3.php#L94
The class ReCaptcha should not be booted by the validator, the service
ewz_recaptcha.recaptcha
should be injected.