mirror of
https://github.com/cydrobolt/polr.git
synced 2024-09-19 15:11:40 +02:00
Load reCAPTCHA script only if it is enabled for the registration form
This commit is contained in:
parent
6e28bf8394
commit
53128c11b4
@ -43,5 +43,7 @@
|
||||
@endsection
|
||||
|
||||
@section('js')
|
||||
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
|
||||
@if (env('POLR_ACCT_CREATION_RECAPTCHA'))
|
||||
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
|
||||
@endif
|
||||
@endsection
|
||||
|
Loading…
Reference in New Issue
Block a user