title: Undefined method ::validate in laravel
body: <p>working in recover the password, and everything was working ok since i added a validator, but i get a error: "Undefined method ...\Password\PasswordController::validate"</p>
  
  <p>The function im calling is postEmail</p>
  
  <p>What am i doing wrong? </p>
  
  <p>My code:</p>
  
  <pre><code>&lt;?php
  
  namespace Illuminate\Foundation\Auth;
  
  use Illuminate\Http\Request;
  use Illuminate\Mail\Message;
  use Illuminate\Support\Facades\Auth;
  use Illuminate\Support\Facades\Password;
  use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
  
  trait ResetsPasswords
  {
  
      use RedirectsUsers;
  
      /**
       * Send a reset link to the given user.
       *
       * @param  \Illuminate\Http\Request  $request
       * @return \Illuminate\Http\Response
       */
      public function postEmail(Request $request)
      {
          $this-&gt;validate($request, ['email' =&gt; 'required|email']);
  
  
          $response = Password::sendResetLink($request-&gt;only('email'), function (Message $message) {
              $message-&gt;subject($this-&gt;getEmailSubject());
          });
  
  
          switch ($response) {
              case Password::RESET_LINK_SENT:
                  return redirect()
                         -&gt;back()
                         -&gt;with('status', trans($response));
  
              case Password::INVALID_USER:
                  return redirect()
                         -&gt;back()
                         -&gt;withErrors(['email' =&gt; trans($response)]);
          }
      }
  }
  </code></pre>