summaryrefslogtreecommitdiffstats
path: root/modules/auth/ldap
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-11-26 14:04:58 -0500
committerUnknwon <u@gogs.io>2015-11-26 14:04:58 -0500
commitaaa3f1b2b9de437386185670bcc135202f1d8099 (patch)
tree48790eed891ea75cf237f29d141eb0932f7bc3fd /modules/auth/ldap
parent2f28a0310b0f391dd74bb3a2ab0ae06379a4fb1a (diff)
downloadgitea-aaa3f1b2b9de437386185670bcc135202f1d8099.tar.gz
gitea-aaa3f1b2b9de437386185670bcc135202f1d8099.zip
Use better LDAP lib and should fix #1139
Diffstat (limited to 'modules/auth/ldap')
-rw-r--r--modules/auth/ldap/ldap.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/auth/ldap/ldap.go b/modules/auth/ldap/ldap.go
index a00bcf8514..29a2a93b48 100644
--- a/modules/auth/ldap/ldap.go
+++ b/modules/auth/ldap/ldap.go
@@ -11,7 +11,8 @@ import (
"fmt"
"strings"
- "github.com/gogits/gogs/modules/ldap"
+ "gopkg.in/ldap.v2"
+
"github.com/gogits/gogs/modules/log"
)