feat(auth): block admin login IP after 4 failures for 20 min, email login alerts
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
fe68171aa7
commit
e34362b9bd
@@ -112,6 +112,10 @@ final class TemplateVariables
|
||||
'status_line' => ['Tình trạng hạn thanh toán', 'string', 'Hoá đơn sẽ đến hạn sau 3 ngày.'],
|
||||
'paid_row' => ['[Tự động] Dòng đã thanh toán', 'html', ''],
|
||||
'transaction_code' => ['Mã giao dịch', 'string', 'NAP20261008001'],
|
||||
'admin_username' => ['Tài khoản quản trị', 'string', 'admin'],
|
||||
'login_time' => ['Thời gian đăng nhập', 'string', '23/10/2026 08:30:00'],
|
||||
'client_ip' => ['Địa chỉ IP', 'string', '203.113.10.20'],
|
||||
'user_agent' => ['Trình duyệt / thiết bị', 'string', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) Chrome/141.0'],
|
||||
'amount_formatted' => ['Số tiền', 'string', '500,000'],
|
||||
'payment_type' => ['Loại thanh toán', 'string', 'Hóa đơn'],
|
||||
'reference' => ['Mã tham chiếu', 'string', 'DH20261017001'],
|
||||
|
||||
Reference in New Issue
Block a user