ForgotPasswordDto.cs 368 B

123456789101112131415
  1. using System.ComponentModel.DataAnnotations;
  2. namespace Jellyfin.Api.Models.UserDtos;
  3. /// <summary>
  4. /// Forgot Password request body DTO.
  5. /// </summary>
  6. public class ForgotPasswordDto
  7. {
  8. /// <summary>
  9. /// Gets or sets the entered username to have its password reset.
  10. /// </summary>
  11. [Required]
  12. public required string EnteredUsername { get; set; }
  13. }