Skip to content

Commit

Permalink
Merge pull request #89 from ldommer/bugfix
Browse files Browse the repository at this point in the history
added missing language to gReCaptchaScript src
  • Loading branch information
RyanDaDeng authored Oct 31, 2021
2 parents 755c086 + 6d1a3a8 commit e02853b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resources/views/googlerecaptchav3/template.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ function onloadCallback() {
@endforeach
}
</script>
<script id='gReCaptchaScript' src="{{$apiJsUrl}}?render={{$inline ? 'explicit' : $publicKey}}&onload=onloadCallback"
<script id='gReCaptchaScript'
src="{{$apiJsUrl}}?render={{$inline ? 'explicit' : $publicKey}}&hl={{$language}}&onload=onloadCallback"
defer
async {!! $nonce !!}></script>
@endif
Expand Down

0 comments on commit e02853b

Please sign in to comment.