mirror of
https://github.com/pelican-dev/panel.git
synced 2026-03-01 11:21:31 +03:00
[PR #589] [MERGED] Replace reCAPTCHA with Turnstile #838
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/589
Author: @Boy132
Created: 9/27/2024
Status: ✅ Merged
Merged: 11/2/2024
Merged by: @notAreYouScared
Base:
main← Head:feature/turnstile📝 Commits (9)
6a4a5b8add laravel turnstile96374c3add config & settings for turnstile6273cf9publish view to center captchacf27ac8Merge branch 'main' into feature/turnstile6ba139dcompletely replace reCAPTCHAc8bfb98update FailedCaptcha event455c4b6add back config for domain verificationd102259Merge branch 'pelican-dev:main' into feature/turnstileea0ede9don't set language so browser lang is used📊 Changes
17 files changed (+372 additions, -136 deletions)
View changed files
📝
app/Events/Auth/FailedCaptcha.php(+1 -1)➕
app/Filament/Pages/Auth/Login.php(+36 -0)📝
app/Filament/Pages/Settings.php(+35 -20)📝
app/Http/Middleware/VerifyReCaptcha.php(+12 -22)📝
app/Http/ViewComposers/AssetComposer.php(+2 -2)📝
app/Providers/Filament/AdminPanelProvider.php(+2 -1)📝
composer.json(+1 -0)📝
composer.lock(+154 -1)➖
config/recaptcha.php(+0 -31)➕
config/turnstile.php(+15 -0)📝
package.json(+1 -1)📝
resources/scripts/api/auth/login.ts(+1 -1)📝
resources/scripts/api/auth/requestPasswordResetEmail.ts(+1 -1)📝
resources/scripts/components/auth/ForgotPasswordContainer.tsx(+25 -25)📝
resources/scripts/components/auth/LoginContainer.tsx(+25 -25)➕
resources/views/vendor/turnstile/components/turnstile.blade.php(+56 -0)📝
yarn.lock(+5 -5)📄 Description
Replaces reCAPTCHA with Turnstile, on both the old auth pages and the new ones.
Note: the captcha is disabled by default because there are not default keys!
Closes #588
Filament auth:

Legacy auth:

Settings:

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.