mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-19 19:54:45 +02:00

* add laravel turnstile * add config & settings for turnstile * publish view to center captcha * completely replace reCAPTCHA * update FailedCaptcha event * add back config for domain verification * don't set language so browser lang is used
16 lines
399 B
PHP
16 lines
399 B
PHP
<?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.',
|
|
],
|
|
];
|