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

16 lines
371 B
C#
Raw Normal View History

2020-09-10 11:05:46 +02:00
using System.ComponentModel.DataAnnotations;
2023-01-31 12:18:10 +01:00
namespace Jellyfin.Api.Models.UserDtos;
/// <summary>
/// Forgot Password request body DTO.
/// </summary>
public class ForgotPasswordDto
2020-09-10 11:05:46 +02:00
{
/// <summary>
2023-01-31 12:18:10 +01:00
/// Gets or sets the entered username to have its password reset.
2020-09-10 11:05:46 +02:00
/// </summary>
2023-01-31 12:18:10 +01:00
[Required]
required public string EnteredUsername { get; set; }
2020-09-10 11:05:46 +02:00
}