-
Notifications
You must be signed in to change notification settings - Fork 1.5k
feat(register): [PM-27084] Account Register Uses New Data Types - Repush #6855
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(register): [PM-27084] Account Register Uses New Data Types - Repush #6855
Conversation
…ed up reference to master password hash
…d more comments and fixed up some long lines.
…unts controller no longer nullish allowed.
…e thrown error messages more appropriate
…tModel.cs Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
…ed comments for tests.
…t additions to make sure properties that were once required are still required.
…ted tests and added comments for the future.
…ed new checks from review.
…tModel.cs Co-authored-by: Maciej Zieniuk <[email protected]>
…d new checks for master password authentication data.
…ved invalid check.
…fled around validation checks to the request model instead of the controller.
…Added comments to clarify how these data types should be used.
…Updated docs around the validation
…Removed troublesome null safeguarding.
…Removed debug file.
…Fixed error in register finish model validation.
…ed accounts controller tests.
…essed concerns from reviewer.
…d up tests a little more.
…erted throws to validation results and updated tests.
…d more validation around the master password kdf.
…fled around validation a little. In a great place now.
…ved unused import.
…ved unused import.
…ed validation tests and ToUser no longer throws bad request.
…ressed feedback and added tests.
…epts-new-data-types
…ressed more feedback. No longer overriding the master password hash.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6855 +/- ##
==========================================
+ Coverage 56.13% 60.07% +3.94%
==========================================
Files 1974 1974
Lines 87195 87346 +151
Branches 7762 7787 +25
==========================================
+ Hits 48948 52476 +3528
+ Misses 36435 32958 -3477
- Partials 1812 1912 +100 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Great job! No new security vulnerabilities introduced in this pull request |
…epts-new-data-types-repush
…d constant for feature flag.
mzieniukbw
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM from KM side

Note
This was accidentally merged prior to being QA'd so this is the repush of that work. It was already approved here: #6854
🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-27084
📔 Objective
📸 Screenshots
Screen.Recording.2025-12-11.at.5.21.28.PM.mov
⏰ Reminders before review
🦮 Reviewer guidelines
:+1:) or similar for great changes:memo:) or ℹ️ (:information_source:) for notes or general info:question:) for questions:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:) for suggestions / improvements:x:) or:warning:) for more significant problems or concerns needing attention:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt:pick:) for minor or nitpick changes