diff --git a/src/App/Pages/Accounts/SetPasswordPageViewModel.cs b/src/App/Pages/Accounts/SetPasswordPageViewModel.cs index fd4adfd05..b4c415959 100644 --- a/src/App/Pages/Accounts/SetPasswordPageViewModel.cs +++ b/src/App/Pages/Accounts/SetPasswordPageViewModel.cs @@ -219,7 +219,8 @@ namespace Bit.App.Pages // Request var resetRequest = new OrganizationUserResetPasswordEnrollmentRequest { - ResetPasswordKey = encryptedKey.EncryptedString + ResetPasswordKey = encryptedKey.EncryptedString, + MasterPasswordHash = masterPasswordHash, }; var userId = await _stateService.GetActiveUserIdAsync(); // Enroll user diff --git a/src/Core/Models/Request/OrganizationUserResetPasswordEnrollmentRequest.cs b/src/Core/Models/Request/OrganizationUserResetPasswordEnrollmentRequest.cs index 267a425ec..663e0fc61 100644 --- a/src/Core/Models/Request/OrganizationUserResetPasswordEnrollmentRequest.cs +++ b/src/Core/Models/Request/OrganizationUserResetPasswordEnrollmentRequest.cs @@ -2,6 +2,7 @@ { public class OrganizationUserResetPasswordEnrollmentRequest { + public string MasterPasswordHash { get; set; } public string ResetPasswordKey { get; set; } } }