+ Monitor login activity and manage security alerts +
+No login events recorded yet.
; + } + + return ( +| Date & Time | +IP Address | +Status | +Risk | +Details | +
|---|---|---|---|---|
| {formatDate(evt.created_at)} | ++ {evt.ip_address || '—'} + | +
+ {evt.success ? (
+
+ |
+ {label} | ++ {evt.anomaly_reasons || '—'} + | +
No devices registered.
; + } + + return ( +| Device | +Location | +Last Seen | +Status | +Actions | +
|---|---|---|---|---|
|
+
+
+
+
+
+ {device.device_name || 'Unknown Device'}
+
+
+ {device.device_fingerprint?.substring(0, 12)}...
+
+ |
+ + {device.city && device.country + ? `${device.city}, ${device.country}` + : device.country || '—'} + | ++ {formatDate(device.last_seen)} + | +
+ {device.is_trusted ? (
+
+ |
+
+
+ {!device.is_trusted && (
+
+ )}
+
+
+ |
+
No security alerts.
; + } + + return ( +| Alert | +Severity | +Time | +Status | +Action | +
|---|---|---|---|---|
|
+
+
+ {alert.details && (
+
+ {alert.details}
+
+ )}
+ |
+ + + {alert.severity} + + | ++ {formatDate(alert.created_at)} + | ++ {alert.acknowledged ? ( + Acknowledged + ) : ( + Pending + )} + | ++ {!alert.acknowledged && ( + + )} + | +