Files
talktime/backend/src
patrickandClaude Sonnet 5 bc4d74995f feat: add member hard-delete and password reset flow
- DELETE /api/members/:memberId — admin-only, erases the Matrix account,
  audit-logs before deleting (audit_logs.targetId is unconstrained text so
  the entry survives), relies on existing cascade FKs for team/role cleanup.
  Frontend: confirm dialog in the members table dropdown.
- POST /api/auth/forgot-password + /api/auth/reset-password/:token —
  token-based reset via the existing mail.ts SMTP client, generic response
  regardless of whether the email is registered (no enumeration leak),
  60min token TTL, single-use. Frontend: forgot/reset password pages,
  link added to the login form.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0143yYvjesjHndBACoweyK67
2026-09-11 18:42:47 +02:00
..