소스 검색

Update ldap.go

AY's Macbook Pro 3 년 전
부모
커밋
d8b614d1bf
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  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 {