From 42fa8304ddb811b0f725f245130f70c0f5e86a6c Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Tue, 04 Nov 2025 06:12:02 +0000
Subject: [PATCH] =Refactored LoginManager to be more extensible and configurable, as well as an AjaxRateLimiter

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

diff --git a/inc/rest/routes/OptionsRoutes.php b/inc/rest/routes/OptionsRoutes.php
index af77ddb..ebf18d6 100644
--- a/inc/rest/routes/OptionsRoutes.php
+++ b/inc/rest/routes/OptionsRoutes.php
@@ -109,8 +109,8 @@
 
 		do_action('jvbOptionsRoute', $data);
 
-		$cache = new CacheManager('options', 1800);
-		$cache::invalidateGroup('options');
+		$cache = CacheManager::for('options', 1800);
+		$cache->invalidate();
 		return [
 			'success'	=> true,
 			'result'	=> $results

--
Gitblit v1.10.0