yuzhiran 04b30d0024 feat(backend): record lastLoginAt/IP/location on every login
Add lastLoginAt, lastLoginIp, lastLoginLocation to User schema. recordLogin() method called from all 5 login flows (phone, email, wx, password, register). Exposed in safeUser so info endpoint returns login metadata.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-06-22 12:38:07 +08:00
2026-06-11 21:02:23 +08:00
2026-06-08 16:28:00 +08:00
S
Description
No description provided
5.5 MiB
Languages
Vue 54.1%
TypeScript 44.9%
JavaScript 0.5%
HTML 0.5%