mirror of
https://github.com/bitwarden/server
synced 2026-02-26 01:13:35 +00:00
fix(register): [PM-27084] Account Register Uses New Data Types - Added more tests.
This commit is contained in:
@@ -63,14 +63,6 @@ public class RegisterFinishRequestModel : IValidatableObject
|
||||
|
||||
public User ToUser()
|
||||
{
|
||||
// PM-28143 - Remove line below
|
||||
// When we process this request to a user object, check if the unlock and authentication
|
||||
// data has been passed through, and if so they should have matching values.
|
||||
MasterPasswordUnlockDataRequestModel.ThrowIfExistsAndNotMatchingAuthenticationData(MasterPasswordAuthentication, MasterPasswordUnlock);
|
||||
|
||||
// PM-28143 - Remove line below
|
||||
MasterPasswordAuthenticationDataRequestModel.ThrowIfExistsAndHashIsNotEqual(MasterPasswordAuthentication, MasterPasswordHash);
|
||||
|
||||
var user = new User
|
||||
{
|
||||
Email = Email,
|
||||
|
||||
Reference in New Issue
Block a user