1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-10 12:24:50 -05:00

Add a master password hash check to account recovery enrollment (#4154)

This commit is contained in:
Addison Beck
2024-07-01 11:52:58 -04:00
committed by GitHub
parent 5fcd281d96
commit e2d2a2ba90
3 changed files with 36 additions and 1 deletions

View File

@ -1,4 +1,5 @@
using System.ComponentModel.DataAnnotations;
using Bit.Api.Auth.Models.Request.Accounts;
using Bit.Api.Models.Request;
using Bit.Core.Entities;
using Bit.Core.Enums;
@ -98,7 +99,7 @@ public class OrganizationUserUpdateRequestModel
}
}
public class OrganizationUserResetPasswordEnrollmentRequestModel
public class OrganizationUserResetPasswordEnrollmentRequestModel : SecretVerificationRequestModel
{
public string ResetPasswordKey { get; set; }
}