1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-01 13:43:23 +01:00

update request model

This commit is contained in:
Thomas Avery 2024-10-25 11:02:51 -05:00
parent 292fa3efc2
commit 4d6ae5741f
No known key found for this signature in database
GPG Key ID: 44A02A0410B0F429

View File

@ -1,5 +1,4 @@
#nullable enable
using System.ComponentModel.DataAnnotations;
using Bit.Core.KeyManagement.Models.Data;
using Bit.Core.Utilities;
@ -7,10 +6,8 @@ namespace Bit.Api.KeyManagement.Models.Requests;
public class KeyRegenerationRequestModel
{
[Required]
public required string UserPublicKey { get; set; }
[Required]
[EncryptedString]
public required string UserKeyEncryptedUserPrivateKey { get; set; }