From e6cd08ab4e6f455e6d60d6c2e107df5427c8da0a Mon Sep 17 00:00:00 2001 From: sorcier Date: Wed, 4 Nov 2026 14:57:03 +0100 Subject: [PATCH] fix(cdr): remove redundant Auth method calls in CDR actions --- public/api.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/public/api.php b/public/api.php index c46c2f5..0431da7 100644 --- a/public/api.php +++ b/public/api.php @@ -2279,7 +2279,6 @@ try { break; case 'get_cdr': - Auth::requireAuth(); $filters = [ 'limit' => (int)($payload['limit'] ?? $_GET['limit'] ?? 100), 'direction' => (string)($payload['direction'] ?? $_GET['direction'] ?? 'all'), @@ -2297,7 +2296,6 @@ try { break; case 'export_cdr_csv': - Auth::requireAuth(); $filters = [ 'direction' => (string)($_GET['direction'] ?? 'all'), 'disposition' => (string)($_GET['disposition'] ?? 'all'), @@ -2313,7 +2311,6 @@ try { exit; case 'clear_cdr': - Auth::requireAuth(); $cleared = CdrManager::clearCdr(); echo json_encode([ 'success' => $cleared,