Update: 2026-07-09 05:02:10

This commit is contained in:
Hamza-Ayed
2026-07-09 05:02:10 +03:00
parent 2152d34a8e
commit 45859883a5
18 changed files with 29 additions and 4497 deletions
@@ -7,6 +7,11 @@ error_reporting(E_ALL);
$allowRegistration = true;
require_once __DIR__ . '/../../connect.php';
// Rate Limiting: الحماية من البرمجيات الخبيثة والتسجيل العشوائي
$rateLimiter = new RateLimiter($redis);
$rateLimiter->enforce(RateLimiter::identifier(), 'register_passenger');
// تعريف بادئة للوج (Tag) لسهولة البحث عنها في ملف الأخطاء
$logTag = "[Register_Debug_passenger]";