{{-- Google reCAPTCHA widget for the guest auth forms. Place INSIDE the
so the response field is submitted with it. v2 (checkbox): Google's api.js auto-renders the .g-recaptcha box and injects the g-recaptcha-response field on submit — no custom JS. v3 (invisible): the token is fetched on submit by resources/js/charts/auth-recaptcha.js (loaded via app.js) and dropped into the hidden #recaptcha-token field. Site key + action come from data- attributes so nothing is hardcoded. The server verifies via RecaptchaService::verify() in AuthPagesController, reading either g-recaptcha-response (v2) or recaptcha_token (v3). @param string $action v3 action label (login / register). Defaults to login. --}} @php /** @var \App\Services\RecaptchaService $__re */ $__re = app(\App\Services\RecaptchaService::class); $__action = $action ?? 'login'; @endphp @if ($__re->enabled()) @if ($__re->version() === 'v3')

{{ __('Protected by reCAPTCHA.') }} {{ __('Privacy') }} & {{ __('Terms') }}.

@else
@endif @endif