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

16 lines
367 B
C#
Raw Normal View History

2021-02-06 17:18:37 +01:00
using System.ComponentModel.DataAnnotations;
2023-01-31 12:18:10 +01:00
namespace Jellyfin.Api.Models.UserDtos;
/// <summary>
/// Forgot Password Pin enter request body DTO.
/// </summary>
public class ForgotPasswordPinDto
2021-02-06 17:18:37 +01:00
{
/// <summary>
2023-01-31 12:18:10 +01:00
/// Gets or sets the entered pin to have the password reset.
2021-02-06 17:18:37 +01:00
/// </summary>
2023-01-31 12:18:10 +01:00
[Required]
required public string Pin { get; set; }
2021-02-06 17:18:37 +01:00
}