Skip to content

Commit 1e3ffba

Browse files
committed
template: exclude identity user tokens from audit
1 parent 8b86780 commit 1e3ffba

File tree

1 file changed

+1
-0
lines changed
  • templates/Coalesce.Vue.Template/content/Coalesce.Starter.Vue.Data

1 file changed

+1
-0
lines changed

templates/Coalesce.Vue.Template/content/Coalesce.Starter.Vue.Data/AppDbContext.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
121121
#if Identity
122122
.Format<User>(x => x.PasswordHash, x => "<password changed/rehashed>")
123123
.Format<User>(x => x.SecurityStamp, x => "<stamp changed>")
124+
.Exclude<IdentityUserToken<string>>()
124125
.ExcludeProperty<User>(x => new { x.ConcurrencyStamp })
125126
#endif
126127
#if Tenancy

0 commit comments

Comments
 (0)