From 425a6311e26a6b49390dc506db3a2f5ec301e38f Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 12 Dec 2020 21:12:30 -0700 Subject: [PATCH] Update captcha views --- config/app.php | 1 + resources/views/auth/login.blade.php | 2 +- resources/views/auth/register.blade.php | 2 +- resources/views/site/index.blade.php | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/config/app.php b/config/app.php index 28d37e12e..6de669b41 100644 --- a/config/app.php +++ b/config/app.php @@ -213,6 +213,7 @@ return [ 'PrettyNumber' => App\Util\Lexer\PrettyNumber::class, 'Purify' => Stevebauman\Purify\Facades\Purify::class, 'FFMpeg' => Pbmedia\LaravelFFMpeg\FFMpegFacade::class, + 'Captcha' => Buzz\LaravelHCaptcha\CaptchaFacade::class, ], ]; diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index 9e6fe009d..827cbdb19 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -52,7 +52,7 @@ @if(config('captcha.enabled'))
- {!! app('captcha')->display() !!} + {!! Captcha::display() !!}
@endif diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php index 8292f7f82..f68afb614 100644 --- a/resources/views/auth/register.blade.php +++ b/resources/views/auth/register.blade.php @@ -83,7 +83,7 @@ @if(config('captcha.enabled'))
- {!! app('captcha')->display() !!} + {!! Captcha::display() !!}
@endif diff --git a/resources/views/site/index.blade.php b/resources/views/site/index.blade.php index e1c454d20..c98a2fb43 100644 --- a/resources/views/site/index.blade.php +++ b/resources/views/site/index.blade.php @@ -110,7 +110,7 @@ @if(config('captcha.enabled'))
- {!! app('captcha')->display() !!} + {!! Captcha::display() !!}
@endif