lib/omniauth/identity/models/mongo_mapper.rb in omniauth-identity-1.1.0 vs lib/omniauth/identity/models/mongo_mapper.rb in omniauth-identity-1.1.1

- old
+ new

@@ -14,11 +14,11 @@ def self.auth_key=(key) super validates_uniqueness_of key, :case_sensitive => false end - def self.locate(key) - where(auth_key => key).first + def self.locate(search_hash) + where(search_hash).first end end end end end