[PM-35201] Enhance password reset logic in MemberActionsService#20504
[PM-35201] Enhance password reset logic in MemberActionsService#20504
Conversation
* Update allowResetPassword method to permit password resets for users with an Accepted status when AdminResetTwoFactor is enabled. * Add unit tests to verify behavior for password reset permissions based on user status and AdminResetTwoFactor settings.
🤖 Bitwarden Claude Code ReviewOverall Assessment: APPROVE Reviewed the change to Code Review DetailsNo findings. The change is small, well-scoped, gated behind the existing |
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #20504 +/- ##
=======================================
Coverage 47.10% 47.11%
=======================================
Files 3951 3951
Lines 119732 119732
Branches 18349 18349
=======================================
+ Hits 56401 56410 +9
+ Misses 59095 59086 -9
Partials 4236 4236 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|



🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-35201
📔 Objective
Extends the states for password recovery to support the Accepted status