mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 15:15:34 +03:00
Add user verification to reset password request (#1980)
We only need master password hash because this is currently only used for sso password setting after auto-provisioning. Key Connector is not involved in these accounts
This commit is contained in:
parent
6c7413e38c
commit
58a3662d0f
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
{
|
||||
public class OrganizationUserResetPasswordEnrollmentRequest
|
||||
{
|
||||
public string MasterPasswordHash { get; set; }
|
||||
public string ResetPasswordKey { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue