Browse Source

Update ChangePasswordInput.cs

pull/4975/head
Yunus Emre Kalkan 6 years ago
parent
commit
8c3b9b9fc9
  1. 3
      modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/ChangePasswordInput.cs

3
modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/ChangePasswordInput.cs

@ -1,14 +1,17 @@
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using Volo.Abp.Auditing;
using Volo.Abp.Validation; using Volo.Abp.Validation;
namespace Volo.Abp.Identity namespace Volo.Abp.Identity
{ {
public class ChangePasswordInput public class ChangePasswordInput
{ {
[DisableAuditing]
[DynamicStringLength(typeof(IdentityUserConsts), nameof(IdentityUserConsts.MaxPasswordLength))] [DynamicStringLength(typeof(IdentityUserConsts), nameof(IdentityUserConsts.MaxPasswordLength))]
public string CurrentPassword { get; set; } public string CurrentPassword { get; set; }
[Required] [Required]
[DisableAuditing]
[DynamicStringLength(typeof(IdentityUserConsts), nameof(IdentityUserConsts.MaxPasswordLength))] [DynamicStringLength(typeof(IdentityUserConsts), nameof(IdentityUserConsts.MaxPasswordLength))]
public string NewPassword { get; set; } public string NewPassword { get; set; }
} }

Loading…
Cancel
Save