4 years ago

Spark Registration form & Recaptcha

Posted 4 years ago by nad27

I'm struggling a bit with integrating Recaptcha and Spark on the registration page. I am attempting to use the Validator for Laravel 5.

I think my hold up is being able to correctly integrate the recaptcha box in with the existing Vue.js form. Any suggestions?

I've added 'g-recaptcha-response' => 'required|recaptcha' to my Spark::validateUsersWith call inside SparkServiceProvider.php (similar to adding a custom field).

I've also added 'g-recaptcha-response': '' within Spark.forms.register in app.js.

No joy... Looking for any tips you might have.

Funny - the recaptcha box is taunting me as I create this new post ;)

Please sign in or create an account to participate in this conversation.