mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
Refactor captcha (#1068)
* refactor captcha * add default error message * prevent rule from being called multiple times * fixes * use config * Update this to latest * Remove this --------- Co-authored-by: Lance Pioch <git@lance.sh>
This commit is contained in:
@@ -44,7 +44,7 @@ return Application::configure(basePath: dirname(__DIR__))
|
||||
'bindings' => \Illuminate\Routing\Middleware\SubstituteBindings::class,
|
||||
'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class,
|
||||
'node.maintenance' => \App\Http\Middleware\MaintenanceMiddleware::class,
|
||||
'recaptcha' => \App\Http\Middleware\VerifyReCaptcha::class,
|
||||
'captcha' => \App\Http\Middleware\VerifyCaptcha::class,
|
||||
]);
|
||||
})
|
||||
->withSingletons([
|
||||
|
||||
Reference in New Issue
Block a user