From 9b9362ae8229886532b20d87d9ea0b5d0951d831 Mon Sep 17 00:00:00 2001 From: Peter Foster Date: Tue, 10 Mar 2026 14:19:02 +0000 Subject: [PATCH] Lower interaction score threshold to stop blocking real users Co-Authored-By: Claude Opus 4.6 --- contact-handler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contact-handler.php b/contact-handler.php index cb96396..956f69b 100644 --- a/contact-handler.php +++ b/contact-handler.php @@ -289,7 +289,7 @@ if (!isset($_SERVER['HTTP_X_REQUESTED_WITH']) || $_SERVER['HTTP_X_REQUESTED_WITH if (isset($_POST['interaction_token']) && !empty($_POST['interaction_token'])) { $tokenData = @json_decode(base64_decode($_POST['interaction_token']), true); if ($tokenData && isset($tokenData['score'])) { - if ($tokenData['score'] < 30) { + if ($tokenData["score"] < 3) { // Log low interaction score $logEntry = date('Y-m-d H:i:s') . " - LOW INTERACTION SCORE: " . $tokenData['score'] . " from " . $_SERVER['REMOTE_ADDR'] . "\n"; file_put_contents('logs/contact-errors.log', $logEntry, FILE_APPEND | LOCK_EX);