- Remove address and contact number - Add link to email - change twitter logo to x - link x logo to company twitter account Add new template to inform password change success - add code to send email on password change success
19 lines
384 B
C#
19 lines
384 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Marco.Pms.Model.Dtos
|
|
{
|
|
public class ResetPasswordDto
|
|
{
|
|
[Required]
|
|
[EmailAddress]
|
|
public string? Email { get; set; }
|
|
|
|
[Required]
|
|
public string Token { get; set; }= string.Empty;
|
|
|
|
[Required]
|
|
[MinLength(6)]
|
|
public string? NewPassword { get; set; }
|
|
}
|
|
}
|