Can you post the appropriate source? I think you made 2 mistakes
- You tried to configure actions_as_authentic parameters in people_controller.rb instead of a model (supposedly called app / models / people.rb in code)
- You did not transfer this code to the "act_as_authentic" method block
Try this in the app /models/people.rb
acts_as_authentic do |config|
config.login_field = :email
end
source
share