Laravel Logging in user
<p>I am a bit of a newbie to Laravel and I have setup a table User with fields username and password.</p>

<p>My sign in screen has a form  with these fields duly declared and I have a function is UserController:</p>

<pre><code>public function SignIn(Request $request)
{
    $this-&gt;validate($request,
        [
            'username' =&gt; 'required',
            'password' =&gt; 'required'
        ]);

    if (Auth::attempt([ 'username' =&gt; $request['username'], 'password' =&gt;$request['password'] ]) )
    {
        return redirect()-&gt;route('dashboard');
    }
    else
    {
        return redirect()-&gt;back();
    }
}
</code></pre>

<p>I know it is getting there OK because I can see the error messages if I submit the form blank.</p>

<p>I have removed the default User Auth.</p>

<p>When I submit I get:</p>

<blockquote>
  <p>ErrorException in EloquentUserProvider.php line 114: Argument 1 passed
  to Illuminate\Auth\EloquentUserProvider::validateCredentials() must be
  an instance of Illuminate\Contracts\Auth\Authenticatable, instance of
  App\User given, called in
  /home/sites/mysticsisterfilms.com/public_html/admin/protected/vendor/laravel/framework/src/Illuminate/Auth/SessionGuard.php
  on line 378 and defined</p>
</blockquote>

<p>Can someone please point me in the right direction?</p>