title: Laravel - using simple auth driver 'Uninitialized string offset: 0'
body: <p>Hi I've been looking into Laravel framework but cannot get this auth driver to work! returns:</p>
  
  <p>Unhandled Exception</p>
  
  <pre><code>Message:
  
  Uninitialized string offset: 0
  Location:
  
  C:\wamp\www\site\laravel\auth\drivers\eloquent.php on line 39
  </code></pre>
  
  <p>I have a login controller with:</p>
  
  <pre><code>class Login_Controller extends Base_Controller {
  
      public $restful = true;
  
      public function post_index()
      {
          $username = Input::get('username');
          $password = Input::get('password');
  
          if ( Auth::attempt($username, $password) )
          {
              return Redirect::to('home');
          }
          else
          {
              return Redirect::to('login')-&gt;with('login_errors', true);
          }
  
      }
  
      public function get_index() {
  
          return View::make('page.login');
  
      }
  
  }
  </code></pre>
  
  <p>I have <code>'username' =&gt; 'username',</code></p>
  
  <p>in the auth.php for the row name</p>
  
  <p>Has anyone else come across  this?</p>
  
  <p>regards</p>
  
  <p>phil</p>