Ver código fonte

Update ldap.go

AY's Macbook Pro 3 anos atrás
pai
commit
d8b614d1bf
1 arquivos alterados com 1 adições e 2 exclusões
  1. 1 2
      mod/auth/ldap/ldap.go

+ 1 - 2
mod/auth/ldap/ldap.go

@@ -229,9 +229,8 @@ func (ldap *ldapHandler) convertGroup(ldapUser *ldap.Entry) UserAccount {
 
 func (ldap *ldapHandler) TestConnection(w http.ResponseWriter, r *http.Request) {
 	//marshall it and return the connection status
-	log.Println("EXCEC")
 	userList, err := ldap.getAllUser(10)
-	log.Println(userList)
+	log.Println(userList, err)
 	if err != nil {
 		empty, err := json.Marshal(syncorizeUserReturnInterface{})
 		if err != nil {