fix: address multiple code review issues across platform components

- Fix maxUsers input validation to prevent negative values and handle NaN cases
- Enhance error handling in fetchCompany with detailed logging and context
- Implement actual cache invalidation logic with pattern-based clearing
- Add comprehensive cache optimization with memory management
- Remove unsafe type casting in performance history analytics
- Improve form validation and authentication patterns
- Update documentation to mask sensitive data in examples
This commit is contained in:
2025-07-13 12:52:54 +02:00
parent eee5286447
commit 53baa924cb
9 changed files with 379 additions and 171 deletions

View File

@ -65,8 +65,8 @@ const data = await response.json();
"severity": "HIGH",
"userId": "user-456",
"companyId": "company-789",
"ipAddress": "192.168.1.100",
"userAgent": "Mozilla/5.0...",
"ipAddress": "192.168.1.***",
"userAgent": "Mozilla/5.0 (masked)",
"timestamp": "2024-01-01T12:00:00Z",
"description": "Failed login attempt",
"metadata": {