jellyfin/Jellyfin.Api/Models/UserDtos/ForgotPasswordPinDto.cs

16 lines
367 B
C#

using System.ComponentModel.DataAnnotations;
namespace Jellyfin.Api.Models.UserDtos;
/// <summary>
/// Forgot Password Pin enter request body DTO.
/// </summary>
public class ForgotPasswordPinDto
{
/// <summary>
/// Gets or sets the entered pin to have the password reset.
/// </summary>
[Required]
required public string Pin { get; set; }
}