3x-ui/web/middleware
farhadh ee063c9bfe
Implement CSRF protection and security hardening across the application
- Added CSRF token handling in axios requests and HTML templates.
- Introduced CSRF middleware to validate tokens for unsafe HTTP methods.
- Implemented login limiter to prevent brute-force attacks.
- Enhanced security headers in middleware for improved response security.
- Updated login notification to include safe metadata without passwords.
- Added tests for CSRF middleware and login limiter functionality.
2026-05-07 10:23:30 +02:00
..
domainValidator.go docs: add comments for all functions 2025-09-20 09:35:50 +02:00
redirect.go docs: add comments for all functions 2025-09-20 09:35:50 +02:00
security.go Implement CSRF protection and security hardening across the application 2026-05-07 10:23:30 +02:00
security_test.go Implement CSRF protection and security hardening across the application 2026-05-07 10:23:30 +02:00