File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/Models/Account Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 1
1
using System . ComponentModel . DataAnnotations ;
2
+ using Abp . Auditing ;
2
3
3
4
namespace AbpCompanyName . AbpProjectName . Web . Models . Account
4
5
{
@@ -8,6 +9,7 @@ public class LoginViewModel
8
9
public string UsernameOrEmailAddress { get ; set ; }
9
10
10
11
[ Required ]
12
+ [ DisableAuditing ]
11
13
public string Password { get ; set ; }
12
14
13
15
public bool RememberMe { get ; set ; }
Original file line number Diff line number Diff line change 1
1
using System . Collections . Generic ;
2
2
using System . ComponentModel . DataAnnotations ;
3
3
using System . Text . RegularExpressions ;
4
+ using Abp . Auditing ;
4
5
using Abp . Authorization . Users ;
5
6
using Abp . Extensions ;
6
7
@@ -25,6 +26,7 @@ public class RegisterViewModel : IValidatableObject
25
26
public string EmailAddress { get ; set ; }
26
27
27
28
[ StringLength ( AbpUserBase . MaxPlainPasswordLength ) ]
29
+ [ DisableAuditing ]
28
30
public string Password { get ; set ; }
29
31
30
32
public bool IsExternalLogin { get ; set ; }
You can’t perform that action at this time.
0 commit comments