Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use `base` from options if it's passed in

  • Loading branch information...
commit 2a0e430654c191f5d6c89c9ddb7655d34e440dde 1 parent 54a73ca
@joefiorini joefiorini authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 oa-enterprise/lib/omniauth/strategies/ldap/adaptor.rb
View
4 oa-enterprise/lib/omniauth/strategies/ldap/adaptor.rb
@@ -125,12 +125,12 @@ def bound?
end
def search(options={}, &block)
- base = options[:base]
+ base = options[:base] || @base
filter = options[:filter]
limit = options[:limit]
args = {
- :base => @base,
+ :base => base,
:filter => filter,
:size => limit
}
Please sign in to comment.
Something went wrong with that request. Please try again.