Skip to content

Bug 2090102 - #2826

Merged
dklawren merged 2 commits into
mozilla:masterfrom
dklawren:2090102
Nov 12, 2026
Merged

dklawren merged 2 commits into
mozilla:masterfrom
dklawren:2090102

Conversation

@dklawren

Copy link
Copy Markdown
Collaborator

Review+ carried over from private pull request
https://bugzilla.mozilla.org/show_bug.cgi?id=2090102

Copilot AI balanced review requested due to automatic review settings November 12, 2026 17:08

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues were identified for the change that masks password hashes in user-update API responses.

No open issues 🎉

What changed in this PR

This PR prevents updated password hashes from being exposed in user-update API responses and adds a regression assertion for the masked value.

Changes:

  • Replace the returned cryptpassword added value with ******.
  • Assert that password changes return an empty removed value and a masked added value.
File Description
qa/​t/​rest_user_update_credentials.t Adds an assertion that the response does not return the password hash.
Bugzilla/​API/​V1/​UserObject.pm Masks the updated password hash in API change responses.

Review effort: Balanced

@dklawren
dklawren merged commit e8d7eb9 into mozilla:master Nov 12, 2026
7 checks passed
@dklawren
dklawren deleted the 2090102 branch November 12, 2026 17:25
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.

2 participants