title: authlogic "you did not provide any details for authentication" with email and password fields in form
body: <p>I constantly get the above message when I try to login to the user I created after logout...</p>
  
  <p>my user model is this, name is the display name</p>
  
  <pre><code>class User &lt; ActiveRecord::Base
    attr_accessible :name, :email, :persistence_token, :password, :password_confirmation
  
    before_save { |user| user.email = email.downcase }
  
    validates :email, uniqueness: true
  
    acts_as_authentic do |configuration|
      configuration.session_class = Session
    end
  end
  </code></pre>
  
  <p>my migration is </p>
  
  <pre><code>class CreateUsers &lt; ActiveRecord::Migration
    def self.up
      create_table :users do |t|
        t.string :email
        t.string :name
        t.string :crypted_password
        t.string :password_salt
        t.string :persistence_token
      end
    end
  
    def self.down
      drop_table :sessions
    end
  end
  </code></pre>
  
  <p>and i use <code>:email</code> and <code>:password</code> fields to my login form</p>