Files
rspade_system/config/recaptcha.php
root f6fac6c4bc Fix bin/publish: copy docs.dist from project root
Fix bin/publish: use correct .env path for rspade_system
Fix bin/publish script: prevent grep exit code 1 from terminating script

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-21 02:08:33 +00:00

51 lines
1.8 KiB
PHP
Executable File

<?php
return [
/*
|--------------------------------------------------------------------------
| reCAPTCHA Configuration
|--------------------------------------------------------------------------
|
| This file contains configuration options for Google reCAPTCHA integration.
|
*/
/*
|--------------------------------------------------------------------------
| Enable reCAPTCHA
|--------------------------------------------------------------------------
|
| This setting controls whether reCAPTCHA is enabled for the application.
| When disabled, no reCAPTCHA will be displayed or validated.
|
*/
'enabled' => env('RECAPTCHA_ENABLED', false),
/*
|--------------------------------------------------------------------------
| Features that use reCAPTCHA
|--------------------------------------------------------------------------
|
| Configure which features should use reCAPTCHA when enabled.
|
*/
'features' => [
'registration' => env('RECAPTCHA_ON_REGISTRATION', true),
'login' => env('RECAPTCHA_ON_LOGIN', false),
'contact_form' => env('RECAPTCHA_ON_CONTACT', true),
'password_reset' => env('RECAPTCHA_ON_PASSWORD_RESET', false),
],
/*
|--------------------------------------------------------------------------
| API Configuration
|--------------------------------------------------------------------------
|
| reCAPTCHA API configuration settings.
| The site_key and secret_key are defined in config/services.php
|
*/
'version' => env('RECAPTCHA_VERSION', 'v2'),
'size' => env('RECAPTCHA_SIZE', 'normal'), // 'normal', 'compact'
'theme' => env('RECAPTCHA_THEME', 'light'), // 'light', 'dark'
];