Removed AspNet 2.2 dependencies from test application
This commit is contained in:
1 parent
91329b8653
commit
4c8bd6a225
3 files changed
+30
-30
No files matched your search
+4
-2
@@ -67,11 +67,13 @@ namespace Microsoft.AspNetCore.Identity.Test
|
||||
services.AddSingleton<IHttpContextAccessor, HttpContextAccessor>();
|
||||
if (concurrentSetup)
|
||||
{
|
||||
services.ConfigureMongoDbIdentity<TUser, TRole, TKey>(Container.MongoDbIdentityConfiguration, Container.MongoRepositoryConcurrent.Context).AddDefaultTokenProviders();
|
||||
services.ConfigureMongoDbIdentity<TUser, TRole, TKey>(Container.MongoDbIdentityConfiguration, Container.MongoRepositoryConcurrent.Context)
|
||||
.AddDefaultTokenProviders();
|
||||
}
|
||||
else
|
||||
{
|
||||
services.ConfigureMongoDbIdentity<TUser, TRole, TKey>(Container.MongoDbIdentityConfiguration, Container.MongoRepository.Context).AddDefaultTokenProviders();
|
||||
services.ConfigureMongoDbIdentity<TUser, TRole, TKey>(Container.MongoDbIdentityConfiguration, Container.MongoRepository.Context)
|
||||
.AddDefaultTokenProviders();
|
||||
}
|
||||
|
||||
services.AddLogging();
|
||||
|
||||
Reference in new issue
Block a user