diff options
author | Unknown <joe2010xtmf@163.com> | 2014-05-15 23:03:31 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-05-15 23:03:31 -0400 |
commit | 44f1ef24935407444dfdcfb4e8b35930fbe14565 (patch) | |
tree | 13bee36c8e7ba2c412725869e7d850c2ef1d1878 | |
parent | be82716b662b8b0b7f85c94209a264758f2b7f80 (diff) | |
parent | 57ad8d50b74672924a44ab314071f1fdfcf042f3 (diff) | |
download | gitea-44f1ef24935407444dfdcfb4e8b35930fbe14565.tar.gz gitea-44f1ef24935407444dfdcfb4e8b35930fbe14565.zip |
Merge branch 'dev' of github.com:gogits/gogs into dev
-rw-r--r-- | modules/auth/ldap/ldap.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/auth/ldap/ldap.go b/modules/auth/ldap/ldap.go index 200490afb5..e944a90a1e 100644 --- a/modules/auth/ldap/ldap.go +++ b/modules/auth/ldap/ldap.go @@ -54,9 +54,8 @@ func LoginUser(name, passwd string) (a string, r bool) { // searchEntry : search an LDAP source if an entry (name, passwd) is valide and in the specific filter func (ls Ldapsource) SearchEntry(name, passwd string) (string, bool) { l, err := ldapDial(ls) - if err != nil { - log.Debug("LDAP Connect error, disabled source %s", ls.Host) + log.Error("LDAP Connect error, %s:%v", ls.Host, err) ls.Enabled = false return "", false } |