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