Konfigurieren Sie DirectorySearchOptions von appsettings

This commit is contained in:
Developer 02
2024-06-13 16:00:55 +02:00
parent 98362c46b5
commit eb92b4db67
3 changed files with 5 additions and 4 deletions

View File

@@ -60,6 +60,7 @@ try {
//builder.Services.AddAutoMapper(typeof(DirectoryMappingProfile).Assembly);
builder.Services.AddUserManager<UserManagerDbContext>();
builder.ConfigureBySection<DirectorySearchOptions>();
builder.Services.AddDirectorySearchService();
builder.Services.AddCookieBasedLocalizer();