mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-03-26 10:03:12 -04:00
14 lines
323 B
C#
14 lines
323 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Cleanuparr.Api.Features.Auth.Contracts.Requests;
|
|
|
|
public sealed record Disable2faRequest
|
|
{
|
|
[Required]
|
|
public required string Password { get; init; }
|
|
|
|
[Required]
|
|
[StringLength(6, MinimumLength = 6)]
|
|
public required string TotpCode { get; init; }
|
|
}
|