Reputation: 49
I added google recpatcha which was working in login form . Then I used auth::routes for forgot password reset. This made recaptcha to not work.
Upvotes: 0
Views: 1629
Reputation: 6005
if someone is still pulling their hair because of this issue just remove the 'recaptcha' in validation rule.
use
'g-recaptcha-response' => 'required'
instead of
'g-recaptcha-response' => 'required|recaptcha'
see http://tuts.codingo.me/google-recaptcha-in-laravel-application/
or
<div class="g-recaptcha"
data-sitekey="{{env('GOOGLE_RECAPTCHA_KEY')}}">
</div>
Upvotes: 1