Skip to content

Commit 26dab0a

Browse files
authored
Merge pull request #555 from ryancyq/bugfix/token-auth-filter-password
Ensure password is not audited during token authentication
2 parents 444fdb6 + 305511e commit 26dab0a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Core/Models/TokenAuth/AuthenticateModel.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System.ComponentModel.DataAnnotations;
2+
using Abp.Auditing;
23
using Abp.Authorization.Users;
34

45
namespace AbpCompanyName.AbpProjectName.Models.TokenAuth
@@ -11,8 +12,9 @@ public class AuthenticateModel
1112

1213
[Required]
1314
[StringLength(AbpUserBase.MaxPlainPasswordLength)]
15+
[DisableAuditing]
1416
public string Password { get; set; }
15-
17+
1618
public bool RememberClient { get; set; }
1719
}
1820
}

0 commit comments

Comments
 (0)