Include recaptcha script on reset page.

This commit is contained in:
Dane Everitt 2017-04-27 23:45:27 -04:00
parent aa6060846d
commit 720cf5303e
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -82,3 +82,15 @@
</form> </form>
</div> </div>
@endsection @endsection
@section('scripts')
@parent
@if(config('recaptcha.enabled'))
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<script>
function onSubmit(token) {
document.getElementById("loginForm").submit();
}
</script>
@endif
@endsection