mirror of https://github.com/abpframework/abp.git
committed by
GitHub
9 changed files with 74 additions and 27 deletions
@ -1,9 +1,18 @@ |
|||
namespace Volo.Abp.Identity |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Volo.Abp.Auditing; |
|||
using Volo.Abp.Validation; |
|||
|
|||
namespace Volo.Abp.Identity |
|||
{ |
|||
public class ChangePasswordInput |
|||
{ |
|||
[DisableAuditing] |
|||
[DynamicStringLength(typeof(IdentityUserConsts), nameof(IdentityUserConsts.MaxPasswordLength))] |
|||
public string CurrentPassword { get; set; } |
|||
|
|||
[Required] |
|||
[DisableAuditing] |
|||
[DynamicStringLength(typeof(IdentityUserConsts), nameof(IdentityUserConsts.MaxPasswordLength))] |
|||
public string NewPassword { get; set; } |
|||
} |
|||
} |
|||
|
|||
Loading…
Reference in new issue