greggilbert / recaptcha

[ABANDONED] reCAPTCHA Validator for Laravel 5
MIT License
714 stars 197 forks source link

ReCaptcha and REST api #20

Closed mech-tools closed 10 years ago

mech-tools commented 10 years ago

Hello,

Thank you for this great package.

From what I understand, you fetch the "recaptcha_challenge_field" from the input data.

What if there is no input (cause Laravel didn't generate the dom/html) and we simply want to pass a new "recaptcha_challenge_field" value to the model.

Maybe, it will be nice, if the package also checks for a valid attribute in the model ($model-> recaptcha_challenge_field).

Just a thought :)

mech-tools commented 10 years ago

Nevermind, that was a stupid question ....