- Fix CSRF token validation for quote form by adding proper session handling and credentials to AJAX requests - Replace alert boxes with styled error/success messages and HTML response pages for better UX - Add visual indicators (*) to required form fields for better accessibility - Standardize navigation links to use absolute paths for consistency - Update JavaScript references to use minified version (main.min.js) for better performance - Archive large error log file and clean up sitemap by removing broken image references - Add comprehensive documentation to reCAPTCHA configuration about test vs production keys - Update sitemap lastmod dates to current timestamp 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
18 lines
882 B
PHP
18 lines
882 B
PHP
<?php
|
|
// Google reCAPTCHA v3 Configuration
|
|
// IMPORTANT: These are test keys. For production, replace with actual keys from https://www.google.com/recaptcha/admin
|
|
// To get production keys:
|
|
// 1. Go to https://www.google.com/recaptcha/admin
|
|
// 2. Register your site domain
|
|
// 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
|
|
?>
|