From 62c76c3a908b1f8d9092d50f4f936aabba327cc1 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 5 Feb 2026 17:13:58 +1030 Subject: [PATCH] if(config('captcha.enabled') --- resources/views/auth/login.blade.php | 22 +++++++++++++++++ .../views/auth/passwords/email.blade.php | 24 +++++++++++++++++++ .../views/auth/passwords/reset.blade.php | 24 +++++++++++++++++++ 3 files changed, 70 insertions(+) diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index fb0eeb99d..40f3b75a0 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -56,6 +56,28 @@ class="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded"> + @if(config('captcha.enabled')) +
+ + @if(config('captcha.driver') === 'turnstile') +
+ + @elseif(config('captcha.driver') === 'hcaptcha') +
+ + @endif + + + @error('captcha_token') +

{{ $message }}

+ @enderror +
+ @endif +
+ @if(config('captcha.enabled')) +
+ + @if(config('captcha.driver') === 'turnstile') +
+ + @elseif(config('captcha.driver') === 'hcaptcha') +
+ + @endif + + + @error('captcha_token') + + @enderror +
+ @endif +
+ @if(config('captcha.enabled')) +
+ + @if(config('captcha.driver') === 'turnstile') +
+ + @elseif(config('captcha.driver') === 'hcaptcha') +
+ + @endif + + + @error('captcha_token') + + @enderror +
+ @endif +