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:
parent
292fa3efc2
commit
4d6ae5741f
@ -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; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user