
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com> Co-authored-by: Weblate (bot) <hosted@weblate.org> Co-authored-by: Havokdan <havokdan@yahoo.com.br> Co-authored-by: daydreamrabbit <devrabbit90@gmail.com> Co-authored-by: 無情天 <kofzhanganguo@126.com>
14 lines
360 B
C#
14 lines
360 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace API.DTOs.Account;
|
|
|
|
public class ConfirmPasswordResetDto
|
|
{
|
|
[Required]
|
|
public string Email { get; set; } = default!;
|
|
[Required]
|
|
public string Token { get; set; } = default!;
|
|
[Required]
|
|
[StringLength(256, MinimumLength = 6)]
|
|
public string Password { get; set; } = default!;
|
|
}
|