title: Laravel Auth attempt() not working despite correct credentials
body: <p>I am currently writing an Authentication controller for my Laravel API application, and I have decided to authenticate my system with <a href="https://github.com/tymondesigns/jwt-auth" rel="nofollow noreferrer">JWT-Auth</a>.</p>
  <p>I am attempting to login using valid credentials, yet the <code>JWTAuth::attempt()</code> method returns false.</p>
  <p>Here's my controller</p>
  <pre><code>public function login(Request $request)
  {
      $credentials = $request-&gt;only('email', 'password');
      $user = User::where('email', $credentials['email'])-&gt;where('active', 1)-&gt;first();
      if ($user &amp;&amp; $token = $this-&gt;auth-&gt;attempt($credentials)) {
          $remember = true;
          event(new Login($this-&gt;auth-&gt;user(), $remember));
          return $token;
      }
  }
  </code></pre>
  <p>I feel like the error lies somewhere in my configuration.</p>
  <p>Any ideas what might be triggering this issue.</p>