Browse Source
Remove UserPasswordHistories collection from MongoDbContext
pull/23894/head
maliming
10 months ago
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4
2 changed files with
0 additions and
4 deletions
-
modules/identity/src/Volo.Abp.Identity.MongoDB/Volo/Abp/Identity/MongoDB/AbpIdentityMongoDbContext.cs
-
modules/identity/src/Volo.Abp.Identity.MongoDB/Volo/Abp/Identity/MongoDB/IAbpIdentityMongoDbContext.cs
|
|
@ -23,8 +23,6 @@ public class AbpIdentityMongoDbContext : AbpMongoDbContext, IAbpIdentityMongoDbC |
|
|
|
|
|
|
|
|
public IMongoCollection<IdentitySession> Sessions => Collection<IdentitySession>(); |
|
|
public IMongoCollection<IdentitySession> Sessions => Collection<IdentitySession>(); |
|
|
|
|
|
|
|
|
public IMongoCollection<IdentityUserPasswordHistory> UserPasswordHistories => Collection<IdentityUserPasswordHistory>(); |
|
|
|
|
|
|
|
|
|
|
|
protected override void CreateModel(IMongoModelBuilder modelBuilder) |
|
|
protected override void CreateModel(IMongoModelBuilder modelBuilder) |
|
|
{ |
|
|
{ |
|
|
base.CreateModel(modelBuilder); |
|
|
base.CreateModel(modelBuilder); |
|
|
|
|
|
@ -22,6 +22,4 @@ public interface IAbpIdentityMongoDbContext : IAbpMongoDbContext |
|
|
IMongoCollection<IdentityUserDelegation> UserDelegations { get; } |
|
|
IMongoCollection<IdentityUserDelegation> UserDelegations { get; } |
|
|
|
|
|
|
|
|
IMongoCollection<IdentitySession> Sessions { get; } |
|
|
IMongoCollection<IdentitySession> Sessions { get; } |
|
|
|
|
|
|
|
|
IMongoCollection<IdentityUserPasswordHistory> UserPasswordHistories { get; } |
|
|
|
|
|
} |
|
|
} |
|
|
|