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

16 lines
371 B
C#
Raw Normal View History

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