1
0
mirror of https://github.com/bitwarden/server synced 2025-12-18 17:23:28 +00:00

use named parameters

This commit is contained in:
Matt Gibson
2025-10-10 10:40:13 -07:00
parent fac2804f02
commit 99fb70ae6b

View File

@@ -17,7 +17,7 @@ var globalSettings = builder.Services.AddGlobalSettingsServices(builder.Configur
builder.Services.AddCustomDataProtectionServices(builder.Environment, globalSettings); builder.Services.AddCustomDataProtectionServices(builder.Environment, globalSettings);
// Repositories // Repositories
builder.Services.AddDatabaseRepositories(globalSettings, true); builder.Services.AddDatabaseRepositories(globalSettings, forceEf: true);
// Identity Services // Identity Services
builder.Services.AddScoped<Microsoft.AspNetCore.Identity.IPasswordHasher<Bit.Core.Entities.User>, Microsoft.AspNetCore.Identity.PasswordHasher<Bit.Core.Entities.User>>(); builder.Services.AddScoped<Microsoft.AspNetCore.Identity.IPasswordHasher<Bit.Core.Entities.User>, Microsoft.AspNetCore.Identity.PasswordHasher<Bit.Core.Entities.User>>();