lib/authlogic/session/password.rb in authlogic-2.0.8 vs lib/authlogic/session/password.rb in authlogic-2.0.9
- old
+ new
@@ -30,13 +30,13 @@
# end
#
# Now just specifcy the name of this method for this configuration option and you are all set. You can do anything you want here. Maybe you allow users to have multiple logins
# and you want to search a has_many relationship, etc. The sky is the limit.
#
- # * <tt>Default:</tt> "find_by_case_insensitive_#{login_field}"
+ # * <tt>Default:</tt> "find_by_smart_case_login_field"
# * <tt>Accepts:</tt> Symbol or String
def find_by_login_method(value = nil)
- config(:find_by_login_method, value, "find_with_#{login_field}")
+ config(:find_by_login_method, value, "find_by_smart_case_login_field")
end
alias_method :find_by_login_method=, :find_by_login_method
# The name of the method you want Authlogic to create for storing the login / username. Keep in mind this is just for your
# Authlogic::Session, if you want it can be something completely different than the field in your model. So if you wanted people to
\ No newline at end of file