title: Laravel error message if email is not registered during password reset (upgrade from 5.6 to 5.7)
body: <p>I recently upgraded my laravel 5.6 project to laravel 5.7, I am experiencing an issue right after I upraded to laravel 5.7. when I enter a registered email, password reset email is sent successfully and the correponding session status message is displayed in the page but when I enter a non registered email the  <code>$errors-&gt;first('email')</code> displays <strong>passwords.user</strong> instead if displaying <strong>We can't find a user with that e-mail address.</strong> (laravel predefined error message).</p>
  
  <p><strong>How do I solve this problem???</strong></p>
  
  <p><strong>auth/passwords/email.blade.php:</strong></p>
  
  <pre><code>&lt;form action="{{ route('password.email') }}" class="forgot_Form text-center" method="POST" id="forgot_password"&gt;
              @csrf
              &lt;div class="form-group{{ $errors-&gt;has('email') ? ' has-error' : '' }}"&gt;
                  &lt;input type="email" class="form-control email" name="email" id="email" placeholder="Email" value="{{ old('email') }}"&gt;
                  @if ($errors-&gt;has('email'))
                      &lt;span class="label label-danger"&gt;
                          &lt;strong&gt;{{ $errors-&gt;first('email') }}&lt;/strong&gt;
                      &lt;/span&gt;
                  @endif
              &lt;/div&gt;
              &lt;button type="submit" class="btn submit-btn"&gt;
                  Send Password Reset Link
              &lt;/button&gt;
          &lt;/form&gt;
  </code></pre>
  
  <p><strong>ForgotPasswordController.php:</strong></p>
  
  <pre><code>class ForgotPasswordController extends Controller
  {
      /*
      |--------------------------------------------------------------------------
      | Password Reset Controller
      |--------------------------------------------------------------------------
      |
      | This controller is responsible for handling password reset emails and
      | includes a trait which assists in sending these notifications from
      | your application to your users. Feel free to explore this trait.
      |
      */
  
      use SendsPasswordResetEmails;
  
      /**
       * Create a new controller instance.
       *
       * @return void
       */
      public function __construct()
      {
          $this-&gt;middleware('guest');
      }
  }
  </code></pre>
  
  <p><strong>Result:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/m0fH7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/m0fH7.png" alt="enter image description here"></a></p>
  
  <p><em>I am using laravel built-in authentication</em></p>