Fix indent

This commit is contained in:
Dan Cech
2018-03-07 14:41:05 -05:00
committed by GitHub
parent 380aa26ea3
commit abef722265
+1 -1
View File
@@ -450,7 +450,7 @@ func (a *ldapAuther) searchForUser(username string) (*LdapUserInfo, error) {
}
func getLdapAttrN(name string, result *ldap.SearchResult, n int) string {
if name == "DN" {
if name == "DN" {
return result.Entries[0].DN
}
for _, attr := range result.Entries[n].Attributes {