title: Laravel 5.8 Custom Email and password Columns
body: <p>I have a WordPress running application, which I would like to access using a separate interface that uses Laravel 5.8.(don't worry about the hashing)</p>
  
  <p>As such, instead of cloning passwords back and forth, I would like to use the user_email and user_pass  columns in the Laravel User model instead. </p>
  
  <p>I have  tried what the official docs say :</p>
  
  <pre><code>namespace App\Http\Controllers;
  
  use Illuminate\Http\Request;
  use Illuminate\Support\Facades\Auth;
  
  class LoginController extends Controller
  {
      /**
       * Handle an authentication attempt.
       *
       * @param  \Illuminate\Http\Request $request
       *
       * @return Response
       */
      public function authenticate(Request $request)
      {
          $credentials = $request-&gt;only('user_email', 'user_pass');
  
          if (Auth::attempt($credentials)) {
              // Authentication passed...
              return redirect()-&gt;intended('dashboard');
          }
      }
  }
  </code></pre>
  
  <p>I then edited the blade files, but no avail. Any pointers? </p>