RezinaLMS-BackEnd/internal/services/user
n3p-tun3 a81fe3cd19 feat(auth): add learner device sessions with a 2-device limit
- Track learner sessions and revoke them immediately on every request
- Add a device replacement challenge for logins over the limit
- Add learner and admin endpoints to list and remove devices
- Trim excess sessions when enforcement is enabled
- Stop logging refresh tokens and authorization headers

Enforcement is off by default through DEVICE_LIMIT_ENFORCED.
2026-11-23 17:38:48 +03:00
..
auth_status_cache.go Initial commit 2026-10-19 17:59:34 +03:00
common.go Adapt backend and demo curriculum for makeup artistry and clean up services 2026-11-02 13:09:31 +03:00
direct.go feat(auth): add learner device sessions with a 2-device limit 2026-11-23 17:38:48 +03:00
email_templates.go Initial commit 2026-10-19 17:59:34 +03:00
interface.go Initial commit 2026-10-19 17:59:34 +03:00
register.go Enforce LMS subscriptions and add configurable referral commissions 2026-10-28 17:51:56 +03:00
reset.go feat(auth): add learner device sessions with a 2-device limit 2026-11-23 17:38:48 +03:00
service.go Initial commit 2026-10-19 17:59:34 +03:00
user.go Initial commit 2026-10-19 17:59:34 +03:00