Implemented ability to reset a user's password.

This commit is contained in:
Joseph Milazzo 2021-01-21 11:15:42 -06:00
parent 6309ae9dd3
commit 8220709b4c
4 changed files with 31 additions and 4 deletions

View file

@ -0,0 +1,13 @@
using System.ComponentModel.DataAnnotations;
namespace API.DTOs
{
public class ResetPasswordDto
{
[Required]
public string UserName { get; init; }
[Required]
[StringLength(8, MinimumLength = 4)]
public string Password { get; init; }
}
}