mirror of
https://github.com/redmine/redmine.git
synced 2026-03-05 03:51:38 +01: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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user