mirror of
https://github.com/pelican-dev/panel.git
synced 2026-07-15 21:48:08 +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:
@@ -1,15 +0,0 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'turnstile_enabled' => env('TURNSTILE_ENABLED', false),
|
||||
|
||||
'turnstile_site_key' => env('TURNSTILE_SITE_KEY', null),
|
||||
'turnstile_secret_key' => env('TURNSTILE_SECRET_KEY', null),
|
||||
|
||||
'turnstile_verify_domain' => env('TURNSTILE_VERIFY_DOMAIN', true),
|
||||
|
||||
'error_messages' => [
|
||||
'turnstile_check_message' => 'Captcha failed! Please refresh and try again.',
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user