title: how to solve the error 'Passwords must be at least eight characters and match the confirmation.' in laravel 5.8
body: <p>when i type the email and the password and i click on reset password , if the password is less then 3 characters it shows an error saying password must be at least 3 characters, but if i type a password of more then 3 characters , it shows an error in email input saying Passwords must be at least eight characters and match the confirmation, and the password is confirmed and matches the confiramtion.</p>
  
  <p>rules method in the resetPasswordController.php :</p>
  
  <pre><code>protected function rules()
  {
      return [
          'token' =&gt; 'required',
          'email' =&gt; 'required|email',
          'password' =&gt; 'required|confirmed|min:3',
      ];
  }
  </code></pre>
  
  <p>and how do i solve this problem to reset the password succefully without showing Passwords must be at least eight characters and match the confirmation?</p>