From fed58a0327efe29905376cdbdd3e51b0a9598bfe Mon Sep 17 00:00:00 2001 From: cvium Date: Thu, 10 Sep 2020 11:05:46 +0200 Subject: Add Dto to ForgotPassword --- Jellyfin.Api/Models/UserDtos/ForgotPasswordDto.cs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Jellyfin.Api/Models/UserDtos/ForgotPasswordDto.cs (limited to 'Jellyfin.Api/Models/UserDtos/ForgotPasswordDto.cs') diff --git a/Jellyfin.Api/Models/UserDtos/ForgotPasswordDto.cs b/Jellyfin.Api/Models/UserDtos/ForgotPasswordDto.cs new file mode 100644 index 000000000..b31c6539c --- /dev/null +++ b/Jellyfin.Api/Models/UserDtos/ForgotPasswordDto.cs @@ -0,0 +1,16 @@ +using System.ComponentModel.DataAnnotations; + +namespace Jellyfin.Api.Models.UserDtos +{ + /// + /// Forgot Password request body DTO. + /// + public class ForgotPasswordDto + { + /// + /// Gets or sets the entered username to have its password reset. + /// + [Required] + public string? EnteredUsername { get; set; } + } +} -- cgit v1.2.3