Replace reCAPTCHA test keys with production v3 keys
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,17 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
// Google reCAPTCHA v3 Configuration
|
// Google reCAPTCHA v3 Configuration
|
||||||
// IMPORTANT: These are test keys. For production, replace with actual keys from https://www.google.com/recaptcha/admin
|
define('RECAPTCHA_SITE_KEY', '6Ldp74UsAAAAAIeXNHbdaKPw-aIErV7ZznKQZ4fh');
|
||||||
// To get production keys:
|
define('RECAPTCHA_SECRET_KEY', '6Ldp74UsAAAAABQLNZkuLwUYMNSf9aSuFrdaoLfZ');
|
||||||
// 1. Go to https://www.google.com/recaptcha/admin
|
define('RECAPTCHA_THRESHOLD', 0.5);
|
||||||
// 2. Register your site domain
|
define('RECAPTCHA_ENABLED', true);
|
||||||
// 3. Choose reCAPTCHA v3
|
|
||||||
// 4. Replace the keys below with your actual keys
|
|
||||||
|
|
||||||
// WARNING: Currently using Google's test keys - forms are NOT protected!
|
|
||||||
define('RECAPTCHA_SITE_KEY', '6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI'); // TODO: Replace with production site key
|
|
||||||
define('RECAPTCHA_SECRET_KEY', '6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe'); // TODO: Replace with production secret key
|
|
||||||
define('RECAPTCHA_THRESHOLD', 0.5); // Score threshold (0.0 - 1.0), higher is more strict
|
|
||||||
|
|
||||||
// Set to true when production keys are configured
|
|
||||||
define('RECAPTCHA_ENABLED', false); // Currently disabled - using test keys
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user