diff options
| author | cvium <clausvium@gmail.com> | 2020-09-10 11:05:46 +0200 |
|---|---|---|
| committer | cvium <clausvium@gmail.com> | 2020-09-25 12:56:47 +0200 |
| commit | fed58a0327efe29905376cdbdd3e51b0a9598bfe (patch) | |
| tree | 3e42415fc53fb493d24124d65d833eb14a322db3 /Jellyfin.Api/Models/UserDtos/ForgotPasswordDto.cs | |
| parent | 226316a4863af5cac17e906cde214dabde5a6692 (diff) | |
Add Dto to ForgotPassword
Diffstat (limited to 'Jellyfin.Api/Models/UserDtos/ForgotPasswordDto.cs')
| -rw-r--r-- | Jellyfin.Api/Models/UserDtos/ForgotPasswordDto.cs | 16 |
1 files changed, 16 insertions, 0 deletions
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 +{ + /// <summary> + /// Forgot Password request body DTO. + /// </summary> + public class ForgotPasswordDto + { + /// <summary> + /// Gets or sets the entered username to have its password reset. + /// </summary> + [Required] + public string? EnteredUsername { get; set; } + } +} |
