Skip to content

Commit

Permalink
set default field name for email_hash
Browse files Browse the repository at this point in the history
  • Loading branch information
robbevan committed Feb 23, 2010
1 parent 835be8b commit 3dc1ecc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/authlogic_facebook_connect/session.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def facebook_uid_field(value = nil)
# * <tt>Default:</tt> nil
# * <tt>Accepts:</tt> Symbol
def facebook_email_hash_field(value = nil)
rw_config(:facebook_email_hash_field, value, nil)
rw_config(:facebook_email_hash_field, value, :email_hash)
end
alias_method :facebook_email_hash_field=, :facebook_email_hash_field

Expand Down

0 comments on commit 3dc1ecc

Please sign in to comment.