From 8b82035f3f8be1462a7125ad7eafb990ca17fa94 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sat, 07 Feb 2026 17:37:23 +0000
Subject: [PATCH] =Port over to jakevan
---
inc/rest/routes/LoginRoutes.php | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/inc/rest/routes/LoginRoutes.php b/inc/rest/routes/LoginRoutes.php
index ef66bb2..2898b23 100644
--- a/inc/rest/routes/LoginRoutes.php
+++ b/inc/rest/routes/LoginRoutes.php
@@ -39,7 +39,7 @@
Route::for('auth/status')
->get([$this, 'getAuthStatus'])
->auth('public')
- ->rateLimit(60, 60);
+ ->rateLimit();
// Standard login
Route::for('auth/login')
@@ -105,6 +105,8 @@
->post([$this, 'handleLogout'])
->auth('logged_in')
->rateLimit(10, 60);
+
+ error_log('=================== LOGIN ROUTES REGISTERED ===================');
}
/**
--
Gitblit v1.10.0