1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-19 15:01:14 +00:00

Ported r1169 from trunk.

git-svn-id: http://redmine.rubyforge.org/svn/branches/0.6-stable@1170 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2008-02-22 17:28:17 +00:00
parent 7e9dd78de8
commit 75d652d9e5

View File

@ -27,6 +27,7 @@ class AuthSourceLdap < AuthSource
end
def authenticate(login, password)
return nil if login.blank? || password.blank?
attrs = []
# get user's DN
ldap_con = initialize_ldap_con(self.account, self.account_password)