Skip to content
Browse files

Fixing small issues.

  • Loading branch information...
1 parent 8951841 commit 347a66e3d4f173257e387f5f0e4d75969058d1b4 Michael Bleigh committed Nov 15, 2010
View
2 oa-enterprise/lib/omniauth/strategies/ldap.rb
@@ -23,7 +23,7 @@ class LDAP
# @param [Rack Application] app Standard Rack middleware argument.
# @option options [String, 'LDAP Authentication'] :title A title for the authentication form.
def initialize(app, title, options = {})
- super(app, @options.delete(:name) || :ldap, options.dup)
+ super(app, options[:name] || :ldap, options.dup)
@title = title
@name_proc = (@options.delete(:name_proc) || Proc.new {|name| name})
@adaptor = OmniAuth::Strategies::LDAP::Adaptor.new(options)
View
3 oa-oauth/lib/omniauth/strategies/foursquare.rb
@@ -1,3 +1,6 @@
+require 'omniauth/oauth'
+require 'multi_json'
+
module OmniAuth
module Strategies
class Foursquare < OAuth

0 comments on commit 347a66e

Please sign in to comment.
Something went wrong with that request. Please try again.