Skip to content

PM-39599: Bug: Must be unlocked to reset your password#7106

Merged
david-livefront merged 1 commit into
mainfrom
PM-39599-reset-password-unlocked
Jun 26, 2026
Merged

PM-39599: Bug: Must be unlocked to reset your password#7106
david-livefront merged 1 commit into
mainfrom
PM-39599-reset-password-unlocked

Conversation

@david-livefront

@david-livefront david-livefront commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

🎟️ Tracking

PM-39599

📔 Objective

This PR updates the ResetPassword state to require the user to be unlocked. This is required in order to utilize the SDK appropriately when creating the new password.

@david-livefront david-livefront requested a review from a team as a code owner June 25, 2026 21:56
@david-livefront david-livefront added the ai-review-vnext Request a Claude code review using the vNext workflow label Jun 25, 2026
@github-actions github-actions Bot added app:password-manager Bitwarden Password Manager app context t:bug Change Type - Bug labels Jun 25, 2026
@github-actions

github-actions Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

🤖 Bitwarden Claude Code Review

Overall Assessment: APPROVE

Reviewed this bug fix that adds an isVaultUnlocked precondition to the ResetPassword navigation branch in RootNavViewModel. When the vault is locked, navigation now falls through to VaultLocked; once the user unlocks, the flow re-evaluates and routes to ResetPassword, ensuring the SDK has an unlocked context when creating the new password. The accompanying test was updated to reflect the new requirement. I traced the full when block control flow and found no correctness, ordering, or breaking-change concerns.

Code Review Details

No findings. The change is minimal, type-safe (isVaultUnlocked and needsPasswordReset are non-nullable Boolean fields on the active account), and the test update correctly aligns with the new behavior.

@aj-rosado aj-rosado left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@david-livefront

Copy link
Copy Markdown
Collaborator Author

Thanks @aj-rosado

@david-livefront david-livefront added this pull request to the merge queue Jun 26, 2026
Merged via the queue into main with commit 157d22f Jun 26, 2026
24 of 29 checks passed
@david-livefront david-livefront deleted the PM-39599-reset-password-unlocked branch June 26, 2026 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-review-vnext Request a Claude code review using the vNext workflow app:password-manager Bitwarden Password Manager app context t:bug Change Type - Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants