Skip to content

Fro 12 changement mot de passe obligatoire#29

Merged
pierrick-fonquerne merged 3 commits intodevelopfrom
FRO-12-Changement-mot-de-passe-obligatoire
Jan 15, 2026
Merged

Fro 12 changement mot de passe obligatoire#29
pierrick-fonquerne merged 3 commits intodevelopfrom
FRO-12-Changement-mot-de-passe-obligatoire

Conversation

@pierrick-fonquerne
Copy link
Copy Markdown
Owner

No description provided.

Add POST /api/auth/change-password endpoint for mandatory password change:
- Create ChangePasswordRequest and ChangePasswordResponse DTOs
- Add ChangePasswordAsync to IAuthService and AuthService
- Add GetByIdWithRoleAsync to IUserRepository
- Validate current password, CNIL password rules, and uniqueness
- Return new JWT token after successful password change
- Set MustChangePassword flag to false upon completion
- Fix JWT claims mapping with MapInboundClaims = false
- Add 8 unit tests and 10 integration tests
Add ChangePasswordModal component for mandatory password change flow:
- Create ChangePasswordModal with 3 password fields and strength indicator
- Add postAuthenticated method to ApiClient for authenticated requests
- Add changePassword function to authService
- Update LoginForm to show modal when mustChangePassword is true
- Add 27 unit tests for ChangePasswordModal
- Update existing tests for new modal behavior
@vercel
Copy link
Copy Markdown

vercel bot commented Jan 15, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
fantasyrealm-character-manager Ready Ready Preview, Comment Jan 15, 2026 8:17pm

…spacing

- Add BaseUrl property to EmailSettings (configurable via Email__BaseUrl)
- Pass baseUrl parameter to all email template methods
- Remove hardcoded BaseUrl constant from EmailTemplates
- Remove 30px gap between header and body in email templates
- Add FRONTEND_URL environment variable support in docker-compose
- Update .env.example with FRONTEND_URL documentation
- Add unit tests for BaseUrl in email templates
- Apply code style improvements (primary constructors)
@pierrick-fonquerne pierrick-fonquerne merged commit 1e9b844 into develop Jan 15, 2026
7 checks passed
@pierrick-fonquerne pierrick-fonquerne deleted the FRO-12-Changement-mot-de-passe-obligatoire branch January 15, 2026 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant