1
0
Fork 0
mirror of https://github.com/omniauth/omniauth.git synced 2022-11-09 12:31:49 -05:00

Cleanup of a few small things.

This commit is contained in:
Michael Bleigh 2010-10-04 10:12:16 -05:00
parent cd4af04646
commit 3e5963fde4
3 changed files with 2 additions and 2 deletions

View file

@ -24,6 +24,8 @@ OmniAuth currently supports the following external providers:
* GitHub
* OpenID
* Google Apps (via OpenID)
* CAS (Central Authentication Service)
* LDAP
## Usage

View file

@ -34,7 +34,6 @@ module OmniAuth
begin
@adaptor.bind(:bind_dn => request.POST['username'], :password => request.POST['password'])
@user_info = @adaptor.search(:filter => Net::LDAP::Filter.eq(@adaptor.uid, request.POST['username']),:limit => 1)
puts @user_info
request.POST['auth'] = auth_hash
@env['REQUEST_METHOD'] = 'GET'
@env['PATH_INFO'] = "#{OmniAuth.config.path_prefix}/#{name}/callback"

View file

@ -33,7 +33,6 @@ module OmniAuth
'name' => user_hash['name'],
'location' => user_hash['location'],
'image' => user_hash['profile_image_url'],
'screen_name' => user_hash['screen_name'],
'description' => user_hash['description'],
'urls' => {'Website' => user_hash['url']}
}