Skip to content

Commit

Permalink
Fixing small issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Bleigh committed Nov 15, 2010
1 parent 8951841 commit 347a66e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion oa-enterprise/lib/omniauth/strategies/ldap.rb
Expand Up @@ -23,7 +23,7 @@ class LDAP
# @param [Rack Application] app Standard Rack middleware argument. # @param [Rack Application] app Standard Rack middleware argument.
# @option options [String, 'LDAP Authentication'] :title A title for the authentication form. # @option options [String, 'LDAP Authentication'] :title A title for the authentication form.
def initialize(app, title, options = {}) def initialize(app, title, options = {})
super(app, @options.delete(:name) || :ldap, options.dup) super(app, options[:name] || :ldap, options.dup)
@title = title @title = title
@name_proc = (@options.delete(:name_proc) || Proc.new {|name| name}) @name_proc = (@options.delete(:name_proc) || Proc.new {|name| name})
@adaptor = OmniAuth::Strategies::LDAP::Adaptor.new(options) @adaptor = OmniAuth::Strategies::LDAP::Adaptor.new(options)
Expand Down
3 changes: 3 additions & 0 deletions oa-oauth/lib/omniauth/strategies/foursquare.rb
@@ -1,3 +1,6 @@
require 'omniauth/oauth'
require 'multi_json'

module OmniAuth module OmniAuth
module Strategies module Strategies
class Foursquare < OAuth class Foursquare < OAuth
Expand Down

0 comments on commit 347a66e

Please sign in to comment.