Updates based on review feedback

This commit is contained in:
Bjarke Berg
2021-08-06 11:26:31 +02:00
parent aaf28cba21
commit bbd935a0b8
4 changed files with 36 additions and 20 deletions

View File

@@ -50,7 +50,7 @@ namespace Umbraco.Extensions
builder.Services.ConfigureOptions<ConfigureBackOfficeCookieOptions>();
builder.Services.AddSingleton<BackOfficeExternalLoginProviderErrorMiddleware>();
builder.Services.AddScoped<BasicAuthAuthenticationMiddleware>();
builder.Services.AddSingleton<BasicAuthAuthenticationMiddleware>();
builder.Services.AddUnique<IBackOfficeAntiforgery, BackOfficeAntiforgery>();
builder.Services.AddUnique<IPasswordChanger<BackOfficeIdentityUser>, PasswordChanger<BackOfficeIdentityUser>>();