Remove globalLDAPConfig (#16706)

This commit is contained in:
Aditya Manthramurthy authored and GitHub committed 2023-02-25 08:07:22 +05:30
1 parent 94c6cb1323
commit e05f3d5d84
8 files changed
+31 -33

No files matched your search

+1 -1
View File
@@ -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)