goose
|
a3c6a43dfb
|
feat(backend): Complete Phase 2.4 - User Management Enhancement
Lint and Build / Lint (push) Has been cancelled
Lint and Build / Build (push) Has been cancelled
Lint and Build / Docker Build (push) Has been cancelled
Phase 2.4 is now COMPLETE!
Implemented Features:
1. Password Recovery ✅
- Zero-knowledge recovery phrases
- Setup, verify, and reset-password endpoints
- Token invalidation on password reset
2. Enhanced Profile Management ✅
- Get, update, and delete profile endpoints
- Password confirmation for deletion
- Token revocation on account deletion
3. Email Verification (Stub) ✅
- Verification status check
- Send verification email (stub - no email server)
- Verify email with token
- Resend verification email (stub)
4. Account Settings Management ✅
- Get account settings endpoint
- Update account settings endpoint
- Change password with current password confirmation
- Token invalidation on password change
New API Endpoints: 11 total
Files Modified:
- backend/src/models/user.rs (added find_by_verification_token)
- backend/src/handlers/auth.rs (email verification handlers)
- backend/src/handlers/users.rs (account settings handlers)
- backend/src/main.rs (new routes)
Testing:
- backend/test-phase-2-4-complete.sh
Documentation:
- backend/PHASE-2-4-COMPLETE.md
Phase 2.4: 100% COMPLETE ✅
|
2026-02-15 20:48:39 -03:00 |
|