mirror of
https://github.com/pelican-dev/panel.git
synced 2026-02-24 19:08:53 +03:00
[PR #1068] [MERGED] Refactor captcha #1155
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pelican-dev/panel/pull/1068
Author: @Boy132
Created: 3/8/2025
Status: ✅ Merged
Merged: 3/15/2025
Merged by: @notAreYouScared
Base:
main← Head:boy132/refactor-captcha📝 Commits (8)
7d72892refactor captcha1b03cabadd default error message5f94afbprevent rule from being called multiple timesb9c7e55fixesb5e623ause configdff7ba5Update this to latest7408e97Merge branch 'main' into boy132/refactor-captcha3773346Remove this📊 Changes
16 files changed (+395 additions, -301 deletions)
View changed files
➕
app/Extensions/Captcha/Providers/CaptchaProvider.php(+118 -0)➕
app/Extensions/Captcha/Providers/TurnstileProvider.php(+106 -0)📝
app/Filament/Admin/Pages/Settings.php(+44 -43)➕
app/Filament/Components/Forms/Fields/TurnstileCaptcha.php(+26 -0)📝
app/Filament/Pages/Auth/Login.php(+25 -14)➕
app/Http/Middleware/VerifyCaptcha.php(+39 -0)➖
app/Http/Middleware/VerifyReCaptcha.php(+0 -52)📝
app/Providers/AppServiceProvider.php(+4 -0)➕
app/Rules/ValidTurnstileCaptcha.php(+19 -0)📝
bootstrap/app.php(+1 -1)📝
composer.json(+0 -1)📝
composer.lock(+1 -154)➖
config/turnstile.php(+0 -15)📝
lang/en/admin/setting.php(+3 -2)📝
phpstan.neon(+1 -0)📝
resources/views/filament/components/turnstile-captcha.blade.php(+8 -19)📄 Description
Adds a similar system like oauth for captacha. Allows to create additional captcha providers.
Removes
coderflexx/filament-turnstile.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.