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

17 lines
409 B
C#
Raw Normal View History

2020-09-10 09:05:46 +00:00
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 string? EnteredUsername { get; set; }
}
}