Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

778 B
Raw Blame
using Grand.Infrastructure.ModelBinding;
using Grand.Infrastructure.Models;
using System.ComponentModel.DataAnnotations;

namespace Grand.Web.Models.Customer;

public class ChangePasswordModel : BaseModel
{
    [DataType(DataType.Password)]
    [GrandResourceDisplayName("Account.ChangePassword.Fields.OldPassword")]
    public string OldPassword { get; set; }

    [DataType(DataType.Password)]
    [GrandResourceDisplayName("Account.ChangePassword.Fields.NewPassword")]
    public string NewPassword { get; set; }

    [DataType(DataType.Password)]
    [GrandResourceDisplayName("Account.ChangePassword.Fields.ConfirmNewPassword")]
    public string ConfirmNewPassword { get; set; }

    public string Result { get; set; }

    public bool PasswordIsExpired { get; set; }
}