title: Why typing incorrect password shows incorrect login error?
body: <p>I have used <code>php artisan ui bootstrap --auth</code> to install authentication in my app. When I type right login, wrong password and submit my login form, the login input lights red as invalid and invalid login message is showing and zero information about wrong password. Have you any idea, why it happens?</p>
  <p>That's my form, I can provide any other part of code, but I don't know, where should I look for mistakes.</p>
  <pre><code>    &lt;form method=&quot;POST&quot; action=&quot;{{ route('login') }}&quot; class=&quot;mt-4&quot;&gt;
              @csrf
          
              &lt;div class=&quot;form-group row&quot;&gt;
          
                  &lt;div class=&quot;col-md-6 offset-md-3&quot;&gt;
                      &lt;input placeholder=&quot;{{ __('Login') }}&quot; id=&quot;login&quot; type=&quot;text&quot; class=&quot;form-control @error('login') is-invalid @enderror&quot; name=&quot;login&quot; value=&quot;{{ old('login') }}&quot; required autocomplete=&quot;login&quot; autofocus&gt;
          
                      @error('login')
                          &lt;span class=&quot;invalid-feedback&quot; role=&quot;alert&quot;&gt;
                              &lt;strong&gt;{{ $message }}&lt;/strong&gt;
                              @php dump($errors); @endphp
                          &lt;/span&gt;
                      @enderror
                  &lt;/div&gt;
              &lt;/div&gt;
          
              &lt;div class=&quot;form-group row&quot;&gt;
          
                  &lt;div class=&quot;col-md-6 offset-md-3&quot;&gt;
                      &lt;input placeholder=&quot;{{ __('auth.Password') }}&quot; id=&quot;password&quot; type=&quot;password&quot; class=&quot;form-control @error('password') is-invalid @enderror&quot; name=&quot;password&quot; required autocomplete=&quot;current-password&quot;&gt;
          
                      @error('password')
                          &lt;span class=&quot;invalid-feedback&quot; role=&quot;alert&quot;&gt;
                              &lt;strong&gt;{{ $message }}&lt;/strong&gt;
                          &lt;/span&gt;
                      @enderror
                  &lt;/div&gt;
              &lt;/div&gt;
              &lt;div class=&quot;form-group row&quot;&gt;
                  &lt;div class=&quot;col-md-6 offset-md-3&quot;&gt;
                      &lt;div class=&quot;form-check&quot;&gt;
                          &lt;input class=&quot;form-check-input&quot; type=&quot;checkbox&quot; name=&quot;remember&quot; id=&quot;remember&quot; {{ old('remember') ? 'checked' : '' }}&gt;
          
                          &lt;label class=&quot;form-check-label&quot; for=&quot;remember&quot;&gt;
                              {{ __('auth.Remember Me') }}
                          &lt;/label&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          
              &lt;div class=&quot;form-group row mb-0&quot;&gt;
                  &lt;div class=&quot;col-md-6 offset-md-3 text-right&quot;&gt;
                      &lt;button type=&quot;submit&quot; class=&quot;btn btn-success&quot;&gt;
                          {{ __('auth.Log in') }}
                      &lt;/button&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
     &lt;/form&gt;
  </code></pre>
  <p>Controllers/Auth/LoginController.php</p>
  <pre><code>namespace App\Http\Controllers\Auth;
  
  use App\Http\Controllers\Controller;
  use App\Providers\RouteServiceProvider;
  use Illuminate\Foundation\Auth\AuthenticatesUsers;
  use Illuminate\Http\Request;
  
  class LoginController extends Controller
  {
      use AuthenticatesUsers;
  
      /**
       * Where to redirect users after login.
       *
       * @var string
       */
      protected $redirectTo = RouteServiceProvider::HOME;
  
      /**
       * Create a new controller instance.
       *
       * @return void
       */
      public function __construct()
      {
          $this-&gt;middleware('guest')-&gt;except('logout');
      }
  
      /**
       * Get the login username to be used by the controller.
       *
       * @return string
       */
      public function username()
      {
          return 'login';
      }
  
  }
  </code></pre>