mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-09-24 10:46:34 +08:00
Implement CSRF protection and security hardening across the application (#4179)
* 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. * fix
This commit is contained in:
committed by
GitHub
parent
a1b2382877
commit
10ebc6cbdc
@@ -765,7 +765,7 @@
|
||||
"traffic" = "🚦 الترافيك: {{ .Total }} (↑{{ .Upload }},↓{{ .Download }})\r\n"
|
||||
"xrayStatus" = "ℹ️ الحالة: {{ .State }}\r\n"
|
||||
"username" = "👤 اسم المستخدم: {{ .Username }}\r\n"
|
||||
"password" = "👤 الباسورد: {{ .Password }}\r\n"
|
||||
"reason" = "❗️ السبب: {{ .Reason }}\r\n"
|
||||
"time" = "⏰ الوقت: {{ .Time }}\r\n"
|
||||
"inbound" = "📍 الإدخال: {{ .Remark }}\r\n"
|
||||
"port" = "🔌 البورت: {{ .Port }}\r\n"
|
||||
|
||||
Reference in New Issue
Block a user