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

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]
public required string EnteredUsername { get; set; }
}