mirror of
https://github.com/twinpath/app.git
synced 2026-01-26 13:21:59 +07:00
Fix: Resolve ENV parsing issue and implement Cloudflare Turnstile
This commit is contained in:
11
resources/views/components/turnstile.blade.php
Normal file
11
resources/views/components/turnstile.blade.php
Normal file
@@ -0,0 +1,11 @@
|
||||
@props(['theme' => 'auto', 'size' => 'normal', 'tabindex' => 0])
|
||||
|
||||
<script src="https://challenges.cloudflare.com/turnstile/v0/api.js" async defer></script>
|
||||
|
||||
<div class="cf-turnstile"
|
||||
data-sitekey="{{ env('TURNSTILE_SITE_KEY') }}"
|
||||
data-theme="{{ $theme }}"
|
||||
data-size="{{ $size }}"
|
||||
data-tabindex="{{ $tabindex }}"
|
||||
{{ $attributes }}
|
||||
></div>
|
||||
Reference in New Issue
Block a user