diff --git a/config/app.php b/config/app.php
index 28d37e12..6de669b4 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 9e6fe009..827cbdb1 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 8292f7f8..f68afb61 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 e1c454d2..c98a2fb4 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