From df6c00db050e188a6bd5707e72c4f1f331ced923 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 08 Feb 2026 20:46:43 +0000
Subject: [PATCH] =Port over to jakevan 2
---
inc/rest/routes/SettingsRoutes.php | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/inc/rest/routes/SettingsRoutes.php b/inc/rest/routes/SettingsRoutes.php
index f49c2bd..26b77ea 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();
}
/**
--
Gitblit v1.10.0