Sessions & Login History
Closegram tracks every active session and full login history. Users can view, manage, and remotely terminate sessions from any device.
Each property has its own checkbox marking whether that specific piece is fully implemented and functional end to end (frontend + backend) — update these yourself as work lands; this page won't overwrite them.
- View active sessions
- View current session details — each session on
Settings → Sessionshas a "View details" expander showing IP address, first-seen, and expiry (activeSessionsnow also selectsexpiresAt) - Revoke a single session
- Revoke all other sessions
- Login history —
loginHistoryis wired end-to-end (resolver +SessionsSettingsPage.tsx) and now renders real entries. Fixed this session: the backend manager used to return a mismatched shape (login_historyinstead of the schema'sentries, plus wrong per-entry field names), which made the query error out and the history list render empty; it now returns the correctentriesshape with real device/IP/location data per session.loginMethod/success/failureReasonare still placeholder values (always'password'/true/null) since there's no failed-login attempt log yet — see the technical reference - Session detail lookup by ID
Admin management of a user's sessions is a separate, admin-schema-only feature — see Admin Accounts.
See the technical reference for GraphQL schemas, routes, source file links, and per-field wiring status.