MODULES / OPERATIONS
Login History
Review recent successful sign-ins by company member, including available IP and browser details.
Overview
| Module id | login_user_detail |
|---|---|
| Version | 1.0.0 |
| Who uses it | Anyone who uses the screens listed below. |
| Installed | On demand, from Settings → Modules. Anything it needs is installed with it. |
How it links to other modules
- Needs: Core
- Works better with: no other module in particular
- Needed by: no other module
A module that is needed cannot be turned off while the module that needs it is on.
Details
Login History
This optional addon records successful Better Auth session creation events for users who are members of a company where the addon is installed. The settings page shows up to the latest 200 records, with the account name, timestamp and available IP address and user-agent values.
Events are written by the server-side auth lifecycle hook, partitioned into the user's current company memberships and protected with PostgreSQL RLS. The log is append-only and remains after the Better Auth session is revoked. It does not log failed sign-in attempts, page access or activity within ASKERP. IP and user-agent fields are supplied by Better Auth's session metadata; deployments must configure trusted proxies correctly before relying on client IP values.