title: Basic laravel auth cannot login
body: <p>I have id and password, in table account. I'll login with id and password. And the results is bad</p>
  
  <p>auth.php</p>
  
  <pre><code>'driver' =&gt; 'database',
  'model' =&gt; 'Pass',
  'table' =&gt; 'account',
  </code></pre>
  
  <p>models/Pass.php</p>
  
  <pre><code>use Illuminate\Auth\UserTrait;
  use Illuminate\Auth\UserInterface;
  use Illuminate\Auth\Reminders\RemindableTrait;
  use Illuminate\Auth\Reminders\RemindableInterface;
  
  class Pass extends \Eloquent implements UserInterface, RemindableInterface 
  {
      use UserTrait, RemindableTrait;
  
  protected $table = 'account';
  </code></pre>
  
  <p>PassController.php</p>
  
  <pre><code>public function authenticate()
  {
  $userdata = array( 'id' =&gt; Input::get('id'), 'password' =&gt; Input::get('password'));
      if(Auth::attempt($userdata)) 
      {
          echo 'oke';
      } 
      else 
      {
          echo 'bad';
      }
  }
  </code></pre>
  
  <p>in views</p>
  
  <pre><code>{{Form::open(array('action' =&gt; 'PassController@authenticate')) }}
  ...
  </code></pre>
  
  <p>routes.php</p>
  
  <pre><code>Route::post('book/auth', 'PassController@authenticate');
  </code></pre>
  
  <p>How to resolve this? I use laravel 4.2</p>