Files
SkyMoney/docs/api-phase2-move-log.md
Ricearoni1245 a430dfadcf
All checks were successful
Deploy / deploy (push) Successful in 1m31s
Security Tests / security-non-db (push) Successful in 20s
Security Tests / security-db (push) Successful in 25s
phase 2: register, login, logout, verify, session, forgat password, delete and cofirm, refresh session all simplified
2026-03-16 14:19:13 -05:00

4.3 KiB

API Phase 2 Move Log

Date: 2026-03-16
Scope: Move auth + account endpoints out of api/src/server.ts into a dedicated route module.

Route Registration Changes

Endpoint Movements

  1. POST /auth/register
  1. POST /auth/login
  1. POST /auth/logout
  1. POST /auth/verify
  1. POST /auth/verify/resend
  1. POST /auth/forgot-password/request
  1. POST /auth/forgot-password/confirm
  1. POST /account/delete-request
  1. POST /account/confirm-delete
  1. POST /auth/refresh

Notes

  • server.ts auth/account endpoint blocks were removed to prevent duplicate registration.
  • Existing path contracts were preserved (same method + path + response shapes).
  • Existing auth helpers (issueEmailToken, cooldown checks, security logging, lockout tracking) are still sourced from server.ts and injected into the route module.