Open danifantom opened 7 years ago
Add this code to your view
@if(count($errors->all()) > 0)
<div class="alert alert-danger" role="alert"> <p><b>Attenzione!</b></p>
<ul>
@foreach($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
I used this
<div class="form-group">
<div class="col-md-6 col-md-offset-4">{!! Recaptcha::render() !!}
@if ($errors->has('g-recaptcha-response'))
<span class="help-block">
<strong>{{ $errors->first('g-recaptcha-response') }}</strong>
</span>
@endif
</div>
</div>
If I try to send the form without completing the captcha the form just reloads with no error messages. In the LoginController.php I have this
I've even tried to change the validation message but nothing shows up