Browse Source
Merge pull request #8563 from abpframework/maliming-patch-1
Update AbpLdapModule.cs
pull/8567/head
liangshiwei
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
5 deletions
-
framework/src/Volo.Abp.Ldap/Volo/Abp/Ldap/AbpLdapModule.cs
|
|
|
@ -21,11 +21,7 @@ namespace Volo.Abp.Ldap |
|
|
|
context.Services.AddAbpDynamicOptions<AbpLdapOptions, AbpAbpLdapOptionsManager>(); |
|
|
|
|
|
|
|
var configuration = context.Services.GetConfiguration(); |
|
|
|
var ldapConfiguration = configuration["Ldap"]; |
|
|
|
if (!ldapConfiguration.IsNullOrEmpty()) |
|
|
|
{ |
|
|
|
Configure<AbpLdapOptions>(configuration.GetSection("Ldap")); |
|
|
|
} |
|
|
|
Configure<AbpLdapOptions>(configuration.GetSection("Ldap")); |
|
|
|
|
|
|
|
Configure<AbpVirtualFileSystemOptions>(options => |
|
|
|
{ |
|
|
|
|