From b38f03c0e7218762d90fa5092696b127f24f36db Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 25 Jan 2026 07:07:26 +0000
Subject: [PATCH] =Some logical flaws in Queue.php, Queue.js, ContentExecutor.php, UploadExecutor.php - particularly with timeline ordering, frontend queue updates, etc

---
 inc/rest/routes/LoginRoutes.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/inc/rest/routes/LoginRoutes.php b/inc/rest/routes/LoginRoutes.php
index 8c5d9d0..e775960 100644
--- a/inc/rest/routes/LoginRoutes.php
+++ b/inc/rest/routes/LoginRoutes.php
@@ -649,7 +649,7 @@
 			}
 
 			// Lockout expired - clear attempts
-			$this->cache->delete($cache_key);
+			$this->cache->forget($cache_key);
 			return true;
 		}
 
@@ -689,7 +689,7 @@
 	protected function clearFailedAttempts(string $username): void
 	{
 		$cache_key = 'login_attempts_' . md5($username);
-		$this->cache->delete($cache_key);
+		$this->cache->forget($cache_key);
 	}
 
 

--
Gitblit v1.10.0