From 3baf3d2545ba6ece6b74a64c0def59bd0774cf54 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Wed, 10 Jun 2026 16:34:12 +0000
Subject: [PATCH] =Laid the groundwork for an improved DashboardManager.php setup. Have to put it aside so I can get the dang Northeh done though.
---
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