title: Laravel Auth::attempt() always false?
body: <p>I recently started learning Laravel (PHP MVC framework) and I've been having a lot of issues with Authenticating a user with: Auth::attempt($credentials).</p>
  
  <p>I'll put my code snippets below. In my mySQL database I have a record with the following key=>values:
  id=>1, username=>'admin', password=>'admin', created_at=>0000-00-00 00:00:00, updated_at=>0000-00-00 00:00:00</p>
  
  <p>The Validator passes, but the Auth:attempt always fails.</p>
  
  <p>If the code below and my little explanation isn't enough, please let me know! :-)</p>
  
  <p>Routes.php:</p>
  
  <pre><code>Route::get('login', 'AuthController@showLogin');
  Route::post('login', 'AuthController@postLogin');
  </code></pre>
  
  <p>AuthController:</p>
  
  <pre><code>public function showLogin(){
  
      if(Auth::check()){
          //Redirect to their home page
      }
      //Not logged in
      return View::make('auth/login');
  }
  
  public function postLogin(){
  
      $userData = array(
          'username' =&gt; Input::get('username'),
          'password' =&gt; Input::get('password')
      );
  
      $reqs = array(
          'username' =&gt; 'Required',
          'password' =&gt; 'Required'
      );
  
      $validator = Validator::make($userData, $reqs);
  
      if($validator-&gt;passes() &amp;&amp; Auth::attempt($userData)){
          return Redirect::to('home');
      }
      return Redirect::to('login')-&gt;withInput(Input::except('password'));
  }
  </code></pre>