Fro 12 changement mot de passe obligatoire#29
Merged
pierrick-fonquerne merged 3 commits intodevelopfrom Jan 15, 2026
Merged
Conversation
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
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.