greggilbert / recaptcha

[ABANDONED] reCAPTCHA Validator for Laravel 5
MIT License
713 stars 196 forks source link

Fix inverted parameter on curl_verify option check #131

Open joaomath opened 7 years ago

joaomath commented 7 years ago

It was adding the CURLOPT_SSL_VERIFYPEER to curl only if curl_verify was equal to false, which is semantically a contradiction.

greggilbert commented 7 years ago

Hmm? The point was that it defaults to true if it's not defined or if it's set to true - and only disables peer if it's explicitly set to false.