ForgotPasswordDto.cs 409 B

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