Skip to content

Commit

Permalink
also set facebook_uid_field if user found by email_hash
Browse files Browse the repository at this point in the history
  • Loading branch information
robbevan committed Feb 24, 2010
1 parent 3dc1ecc commit cac9011
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/authlogic_facebook_connect/session.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ def validate_by_facebook_connect

if self.attempted_record
self.attempted_record.send(:"#{facebook_session_key_field}=", facebook_session.session_key)
self.attempted_record.send(:"#{facebook_uid_field}=", facebook_session.user.uid)
self.attempted_record.save
end

Expand Down

0 comments on commit cac9011

Please sign in to comment.