Include recaptcha script on reset page.
This commit is contained in:
parent
aa6060846d
commit
720cf5303e
1 changed files with 12 additions and 0 deletions
|
@ -82,3 +82,15 @@
|
|||
</form>
|
||||
</div>
|
||||
@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
|
||||
|
|
Loading…
Reference in a new issue