From b9262247fcd9f76db58e9150c327df9d11181f68 Mon Sep 17 00:00:00 2001
From: Thomas Neumann <thomasneumann21800@gmail.com>
Date: Tue, 7 Feb 2023 15:38:46 -0600
Subject: [PATCH] fixed typo and added http status code

---
 www/failCount.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/www/failCount.php b/www/failCount.php
index 0c199be..1f4d65e 100644
--- a/www/failCount.php
+++ b/www/failCount.php
@@ -24,7 +24,8 @@ $valid_errors = array('Failed To Load', 'Recaptcha');
 if (isset($_POST['error']) && !empty($_POST['error']) && in_array($_POST['error'], $valid_errors)) {
     $error = $_POST['error'];
 } else {
-    // If we do not a valid error message we will die
+    // If we do not have a valid error message we will die
+    http_response_code(400);
     die();
 }
 
-- 
GitLab