summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-05-25 14:37:56 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-05-25 14:37:56 +0000
commitd0c741c88cdb692329184930e32d5a7e63ac6d45 (patch)
tree0d69173a15df53f1b95859ae42eea1e400d280ef
parentb189d85dde8ba0aa3c7f20656748b6bf3d63e991 (diff)
downloadredmine-d0c741c88cdb692329184930e32d5a7e63ac6d45.tar.gz
redmine-d0c741c88cdb692329184930e32d5a7e63ac6d45.zip
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
-rw-r--r--app/models/auth_source_ldap.rb4
1 files changed, 0 insertions, 4 deletions
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