roadie/Roadie.Api/Models/ResetPasswordModel.cs

16 lines
No EOL
317 B
C#

using System.ComponentModel.DataAnnotations;
namespace Roadie.Api.Models
{
public class ResetPasswordModel : LoginModel
{
[Required]
[Compare(nameof(Password))]
public string PasswordConfirmation { get; set; }
[Required]
public string Token { get; set; }
}
}