jellyfin/Jellyfin.Api/Models/UserDtos/ForgotPasswordDto.cs
2023-02-04 20:11:08 +01:00

16 lines
371 B
C#

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