Browse Source

Fix indent

Dan Cech 8 years ago
parent
commit
abef722265
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pkg/login/ldap.go

+ 1 - 1
pkg/login/ldap.go

@@ -450,7 +450,7 @@ func (a *ldapAuther) searchForUser(username string) (*LdapUserInfo, error) {
 }
 }
 
 
 func getLdapAttrN(name string, result *ldap.SearchResult, n int) string {
 func getLdapAttrN(name string, result *ldap.SearchResult, n int) string {
-        if name == "DN" {
+	if name == "DN" {
 		return result.Entries[0].DN
 		return result.Entries[0].DN
 	}
 	}
 	for _, attr := range result.Entries[n].Attributes {
 	for _, attr := range result.Entries[n].Attributes {