mirror of
https://github.com/bitwarden/server
synced 2025-12-14 23:33:41 +00:00
Undo changes to program.cs
This commit is contained in:
@@ -1,10 +1,7 @@
|
|||||||
using Bit.Core.Entities;
|
using Bit.Infrastructure.EntityFramework.Repositories;
|
||||||
using Bit.Infrastructure.EntityFramework.Repositories;
|
|
||||||
using Bit.Seeder.Recipes;
|
using Bit.Seeder.Recipes;
|
||||||
using CommandDotNet;
|
using CommandDotNet;
|
||||||
using Microsoft.AspNetCore.Identity;
|
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
using Microsoft.Extensions.DependencyInjection.Extensions;
|
|
||||||
|
|
||||||
namespace Bit.DbSeederUtility;
|
namespace Bit.DbSeederUtility;
|
||||||
|
|
||||||
@@ -29,7 +26,6 @@ public class Program
|
|||||||
// Create service provider with necessary services
|
// Create service provider with necessary services
|
||||||
var services = new ServiceCollection();
|
var services = new ServiceCollection();
|
||||||
ServiceCollectionExtension.ConfigureServices(services);
|
ServiceCollectionExtension.ConfigureServices(services);
|
||||||
services.TryAddScoped<IPasswordHasher<User>, PasswordHasher<User>>();
|
|
||||||
|
|
||||||
var serviceProvider = services.BuildServiceProvider();
|
var serviceProvider = services.BuildServiceProvider();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user