From d7e7d248cbe41cd7a9ef9c2fb022b6c4831f99a3 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 31 May 2026 15:22:56 +0000
Subject: [PATCH] =jakevan complete

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

diff --git a/inc/rest/routes/SettingsRoutes.php b/inc/rest/routes/SettingsRoutes.php
index f49c2bd..b5d4926 100644
--- a/inc/rest/routes/SettingsRoutes.php
+++ b/inc/rest/routes/SettingsRoutes.php
@@ -38,7 +38,8 @@
 		Route::for('settings')
 			->post([$this, 'saveSettings'])
 			->auth(PermissionHandler::combine(['admin', ['actionNonce' => 'dash-']]))
-			->rateLimit(20);
+			->rateLimit(20)
+			->register();
     }
 
     /**
@@ -144,6 +145,7 @@
             }
             $this->cache->flush();
         }
+
         return [
             'success'   => true,
             'result'   => $results,

--
Gitblit v1.10.0