title: How can show error message in failed login?
body: <p>I make authentication system using the following command:</p>
  
  <pre><code>php artisan make:auth
  </code></pre>
  
  <p>It works fine. But when I try to customize the design and other stuff everything seems messy to me.i.e: When I try with wrong credential it then I can't show the message like: 'Invalid Username/password'. I inspect the all controller inside Auth folder but no detail code is there. My requirement is so simple: I just want to pass error message from controller to view and show it with my custom designed HTML template. Here is my login form:</p>
  
  <pre><code>@extends('layouts.login')
  
  @section('content')
      &lt;div class="content"&gt;
          &lt;!-- BEGIN LOGIN FORM --&gt;
          &lt;form class="login-form" method="POST" action="{{ route('login') }}"&gt;
              @csrf
  
              &lt;h3 class="form-title"&gt;Login to your account&lt;/h3&gt;
               CUSTOM_ERROR_MESSAGE_IF_LOGIN_FAILED
              &lt;div class="alert alert-danger display-hide"&gt;
                  &lt;button class="close" data-close="alert"&gt;&lt;/button&gt;
                  &lt;span&gt;
              Enter any username and password. &lt;/span&gt;
              &lt;/div&gt;
              &lt;div class="form-group"&gt;
                  &lt;!--ie8, ie9 does not support html5 placeholder, so we just show field title for that--&gt;
                  &lt;label class="control-label visible-ie8 visible-ie9"&gt;Username&lt;/label&gt;
                  &lt;div class="input-icon"&gt;
                      &lt;i class="fa fa-user"&gt;&lt;/i&gt;
                      &lt;!-- &lt;input class="form-control placeholder-no-fix" type="text" autocomplete="off" placeholder="Username" name="username"/&gt; --&gt;
                      &lt;input id="email" type="email" class="form-control placeholder-no-fix" name="email" value="{{ old('email') }}" required autocomplete="email" autofocus&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
              &lt;div class="form-group"&gt;
                  &lt;label class="control-label visible-ie8 visible-ie9"&gt;Password&lt;/label&gt;
                  &lt;div class="input-icon"&gt;
                      &lt;i class="fa fa-lock"&gt;&lt;/i&gt;
                      &lt;!-- &lt;input class="form-control placeholder-no-fix" type="password" autocomplete="off" placeholder="Password" name="password"/&gt; --&gt;
                      &lt;input id="password" type="password" class="form-control placeholder-no-fix" name="password" required autocomplete="current-password"&gt;
  
                  &lt;/div&gt;
              &lt;/div&gt;
              &lt;div class="form-actions"&gt;
                  &lt;label class="checkbox"&gt;
                      &lt;!-- &lt;input type="checkbox" name="remember" value="1"/&gt;  --&gt;
                      &lt;input class="form-check-input" type="checkbox" name="remember" id="remember" {{ old('remember') ? 'checked' : '' }}&gt;
                      Remember me &lt;/label&gt;
  
                  &lt;button type="submit" class="btn blue pull-right"&gt;
                      Login &lt;i class="m-icon-swapright m-icon-white"&gt;&lt;/i&gt;
                  &lt;/button&gt;
              &lt;/div&gt;
  
              &lt;div class="forget-password"&gt;
                  &lt;h4&gt;Forgot your password ?&lt;/h4&gt;
                  &lt;p&gt;
                      no worries, click &lt;a href="{{ route('password.request') }}" &gt;
                          here &lt;/a&gt;
                      to reset your password.
                  &lt;/p&gt;
              &lt;/div&gt;
              &lt;div class="create-account"&gt;
                  &lt;p&gt;
                      Don't have an account yet ?&amp;nbsp; &lt;a href="javascript:;" id="register-btn"&gt;
                          Create an account &lt;/a&gt;
                  &lt;/p&gt;
              &lt;/div&gt;
          &lt;/form&gt;
          &lt;!-- END LOGIN FORM --&gt;
  
      &lt;/div&gt;
  
  @endsection
  </code></pre>
  
  <p>How can I show CUSTOM_ERROR_MESSAGE_IF_LOGIN_FAILED?</p>