title: Overriding default login method showing These credentials do not match our records Laravel 6
body: <p>I'm trying to override laravel default Login method and trying to use my own logic there. In my login blade, i'm using an input field named 'identifiers' instead of email field. When i submit my form i'm getting <code>These credentials do not match our records</code> error. What i override:</p>
  
  <p>the login.blade.php</p>
  
  <pre><code>&lt;form class="form-horizontal" role="form" method="POST" action="{{ url('login') }}"&gt;
                      &lt;input type="hidden" name="_token" value="{{ csrf_token() }}"&gt;
                      &lt;div class="form-group"&gt;
                          &lt;div class="col-md-12"&gt;
                              &lt;div class="input-group input-group-sm"&gt;
                                  &lt;span class="input-group-addon" id="identifiers"&gt;&lt;i class="fa fa-user"&gt;&lt;/i&gt;&lt;/span&gt;
                                  &lt;input type="text" class="form-control" placeholder="Username or UserID or Email or Mobile No." aria-describedby="identifiers" name="identifiers" value="{{ old('identifiers') }}"&gt;
                              &lt;/div&gt;
                              @if ($errors-&gt;has('identifiers'))
                                  &lt;span class="help-block"&gt;
                                      &lt;strong class="text-danger"&gt;{{ $errors-&gt;first('identifiers') }}&lt;/strong&gt;
                                  &lt;/span&gt;
                              @endif
                          &lt;/div&gt;
                      &lt;/div&gt;
  
                      &lt;div class="form-group"&gt;
                          &lt;div class="col-md-12"&gt;
                              &lt;div class="input-group input-group-sm"&gt;
                                  &lt;span class="input-group-addon" id="password"&gt;&lt;i class="fa fa-key"&gt;&lt;/i&gt;&lt;/span&gt;
                                  &lt;input type="password" class="form-control" placeholder="Password" aria-describedby="password" name="password"&gt;
                              &lt;/div&gt;
                              @if ($errors-&gt;has('password'))
                                  &lt;span class="help-block"&gt;
                                      &lt;strong class="text-danger"&gt;{{ $errors-&gt;first('password') }}&lt;/strong&gt;
                                  &lt;/span&gt;
                              @endif
                          &lt;/div&gt;
                      &lt;/div&gt;
  
                      &lt;div class="form-group form-group-sm"&gt;
                          &lt;div class="col-sm-12"&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
  
                      &lt;div class="form-group"&gt;
                          &lt;div class="col-md-12"&gt;
                              &lt;button type="submit" class="btn btn-primary btn-sm  pull-right"&gt;
                                  &lt;i class="fa fa-sign-in" aria-hidden="true"&gt;&lt;/i&gt;
                                  Sign In
                              &lt;/button&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
                  &lt;/form&gt;
  </code></pre>
  
  <p>for routing, i'm using default one</p>
  
  <pre><code>Auth::routes();
  </code></pre>
  
  <p>path: app\Http\Controllers\Auth\LoginController.php</p>
  
  <pre><code>&lt;?php
  
  namespace App\Http\Controllers\Auth;
  
  use Illuminate\Http\Request;
  use App\Http\Controllers\Controller;
  use App\Providers\RouteServiceProvider;
  use Illuminate\Foundation\Auth\AuthenticatesUsers;
  use Illuminate\Support\Facades\Auth;
  
  class LoginController extends Controller
  {
      use AuthenticatesUsers;
      protected $redirectTo = RouteServiceProvider::HOME;
  
      public function __construct()
      {
          $this-&gt;middleware('guest')-&gt;except('logout');
      }
  
      public function showLoginForm()
      {
          $this-&gt;data['pageTitle'] = 'Sign In';
  
          return view('auth.login', array('data' =&gt; $this-&gt;data));
      }
  
      protected function validateLogin(Request $request)
      {
          $this-&gt;validate($request, [
              'identifiers' =&gt; 'required|string',
              'password' =&gt; 'required|string',
          ]);
      }
  
      protected function authenticated(Request $request)
      {
          pr($request-&gt;all());die;
  
      }
  }
  </code></pre>
  
  <p>As per documentation i need to override the <code>authenticate</code> method in LoginController. But the request never reached to that method even if i override it. It is redirecting me back to login page with following error. What i missed! can anyone tell!</p>