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