mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
Remove globalLDAPConfig (#16706)
This commit is contained in:
committed by
GitHub
parent
94c6cb1323
commit
e05f3d5d84
@@ -205,7 +205,7 @@ func minioConfigToConsoleFeatures() {
|
||||
}
|
||||
}
|
||||
// Enable if LDAP is enabled.
|
||||
if globalLDAPConfig.Enabled() {
|
||||
if globalIAMSys.LDAPConfig.Enabled() {
|
||||
os.Setenv("CONSOLE_LDAP_ENABLED", config.EnableOn)
|
||||
}
|
||||
os.Setenv("CONSOLE_MINIO_REGION", globalSite.Region)
|
||||
|
||||
Reference in New Issue
Block a user