kevin-asprec 539564dbd4 feat(05-02): portal authentication via subscriber account number
- Add passwordHash field to Subscriber model (nullable for existing subscribers)
- Add portal-credentials NextAuth provider (accountNumber + password + tenantId)
- Persist subscriberId in JWT token and session for portal user identification
- Extend next-auth types with optional subscriberId on Session, User, and JWT
- Exclude /portal/login and /api/portal/auth from middleware auth requirement

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 17:22:52 +08:00
2026-03-05 17:14:54 +08:00
Description
No description provided
819 KiB
Languages
TypeScript 96.6%
Shell 3.3%