From d0c741c88cdb692329184930e32d5a7e63ac6d45 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 25 May 2014 14:37:56 +0000 Subject: remove redundant empty lines from app/models/auth_source_ldap.rb git-svn-id: http://svn.redmine.org/redmine/trunk@13169 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/auth_source_ldap.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'app/models/auth_source_ldap.rb') diff --git a/app/models/auth_source_ldap.rb b/app/models/auth_source_ldap.rb index 4c963bea5..faebdea15 100644 --- a/app/models/auth_source_ldap.rb +++ b/app/models/auth_source_ldap.rb @@ -175,20 +175,16 @@ class AuthSourceLdap < AuthSource end attrs = {} search_filter = base_filter & Net::LDAP::Filter.eq(self.attr_login, login) - ldap_con.search( :base => self.base_dn, :filter => search_filter, :attributes=> search_attributes) do |entry| - if onthefly_register? attrs = get_user_attributes_from_ldap_entry(entry) else attrs = {:dn => entry.dn} end - logger.debug "DN found for #{login}: #{attrs[:dn]}" if logger && logger.debug? end - attrs end -- cgit v1.2.3