accounts/api
Haitao Pan bc2562b877 fix: move mfa/status endpoint outside auth middleware and implement persistent session storage
- Moved /api/auth/mfa/status outside authProtected group to allow pre-login MFA checks
- Added session management to Store interface with CreateSession, GetSession, DeleteSession
- Implemented session persistence in both memoryStore and postgresStore
- Updated handler to use store-based sessions instead of in-memory map
- Added database schema for users, sessions, agents, and email_blacklist tables
- This fixes the 401 error when checking MFA status before login
2026-02-05 09:37:04 +08:00
..
admin_agents.go feat: enforce root account and introduce RBAC policy scaffolding 2026-02-04 13:36:24 +08:00
admin_settings_test.go feat: move account service to repo root 2026-01-16 16:15:23 +08:00
admin_users_metrics.go feat: enforce root account and introduce RBAC policy scaffolding 2026-02-04 13:36:24 +08:00
admin_users.go feat: enforce root account and introduce RBAC policy scaffolding 2026-02-04 13:36:24 +08:00
api_test.go feat: move account service to repo root 2026-01-16 16:15:23 +08:00
api.go fix: move mfa/status endpoint outside auth middleware and implement persistent session storage 2026-02-05 09:37:04 +08:00
config_sync.go feat: add read-only Demo account with hourly UUID rotation 2026-02-04 12:37:31 +08:00
email.go feat: move account service to repo root 2026-01-16 16:15:23 +08:00
internal_public_overview.go feat: add internal public overview endpoint for homepage stats 2026-02-04 14:15:27 +08:00
user_agents.go feat: incorporate registered agent metadata to dynamically populate and name VLESS nodes 2026-02-04 22:40:50 +08:00