- Replaced axios with apiClient for automatic authentication - Updated URLs to use /auth/2fa/* endpoints (was /2fa/*) - Fixed verify() to accept (secret, code) matching backend - Fixed disable() to accept password instead of code - Enabled TWO_FACTOR_AUTH feature flag - Service now properly calls backend endpoints Phase: PHASE-1 Priority: P0 Progress: 9/267 (3.4%) |
||
|---|---|---|
| .. | ||
| api | ||
| 2fa-service.ts | ||
| csrf.ts | ||
| marketplaceService.ts | ||
| offline-storage.ts | ||
| pwa.ts | ||
| secure-auth.ts | ||
| tokenRefresh.test.ts | ||
| tokenRefresh.ts | ||
| tokenStorage.test.ts | ||
| tokenStorage.ts | ||
| websocket.ts | ||