mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update captcha views
This commit is contained in:
parent
5b7b079d33
commit
425a6311e2
4 changed files with 4 additions and 3 deletions
|
@ -213,6 +213,7 @@ return [
|
||||||
'PrettyNumber' => App\Util\Lexer\PrettyNumber::class,
|
'PrettyNumber' => App\Util\Lexer\PrettyNumber::class,
|
||||||
'Purify' => Stevebauman\Purify\Facades\Purify::class,
|
'Purify' => Stevebauman\Purify\Facades\Purify::class,
|
||||||
'FFMpeg' => Pbmedia\LaravelFFMpeg\FFMpegFacade::class,
|
'FFMpeg' => Pbmedia\LaravelFFMpeg\FFMpegFacade::class,
|
||||||
|
'Captcha' => Buzz\LaravelHCaptcha\CaptchaFacade::class,
|
||||||
],
|
],
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
|
|
||||||
@if(config('captcha.enabled'))
|
@if(config('captcha.enabled'))
|
||||||
<div class="d-flex justify-content-center mb-3">
|
<div class="d-flex justify-content-center mb-3">
|
||||||
{!! app('captcha')->display() !!}
|
{!! Captcha::display() !!}
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
|
|
@ -83,7 +83,7 @@
|
||||||
|
|
||||||
@if(config('captcha.enabled'))
|
@if(config('captcha.enabled'))
|
||||||
<div class="d-flex justify-content-center my-3">
|
<div class="d-flex justify-content-center my-3">
|
||||||
{!! app('captcha')->display() !!}
|
{!! Captcha::display() !!}
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
|
|
@ -110,7 +110,7 @@
|
||||||
</div>
|
</div>
|
||||||
@if(config('captcha.enabled'))
|
@if(config('captcha.enabled'))
|
||||||
<div class="d-flex justify-content-center mb-3">
|
<div class="d-flex justify-content-center mb-3">
|
||||||
{!! app('captcha')->display() !!}
|
{!! Captcha::display() !!}
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
<div class="form-group row mb-0">
|
<div class="form-group row mb-0">
|
||||||
|
|
Loading…
Reference in a new issue