fix: user listing with LDAP (#13872)

Users listing was showing just a weird policy 
mapping output which does not make sense here.
This commit is contained in:
Aditya Manthramurthy authored and GitHub committed 2021-12-09 15:55:28 -08:00
1 parent 2f1e8ba612
commit 85d2df02b9
2 files changed
+9 -9

No files matched your search

-9
View File
@@ -1099,15 +1099,6 @@ func (store *IAMStoreSys) GetUsers() map[string]madmin.UserInfo {
}
}
if store.getUsersSysType() == LDAPUsersSysType {
for k, v := range cache.iamUserPolicyMap {
result[k] = madmin.UserInfo{
PolicyName: v.Policies,
Status: madmin.AccountEnabled,
}
}
}
return result
}