title: Argument 2 passed to Illuminate\Auth\Passwords\PasswordBroker::__construct() must implement interface Illuminate\Contracts\Auth\UserProvider,
body: <p>auth.php</p>
  
  <pre><code>   'passwords' =&gt; [
          'users' =&gt; [
              'provider' =&gt; 'users',
              'table' =&gt; 'password_resets',
              'expire' =&gt; 60,
              'throttle' =&gt; 60,
          ],
          'admins'=&gt;[
              'providers'=&gt;'admins',
              'table'=&gt;'password_resets',
              'expire'=&gt;60,
              'throttle'=&gt;60,
          ],
      ],
  </code></pre>
  
  <p>AdminForgotPasswordController.php</p>
  
  <pre><code>&lt;?php
  
  namespace App\Http\Controllers\Auth;
  
  use App\Http\Controllers\Controller;
  use Illuminate\Foundation\Auth\SendsPasswordResetEmails;
  use Illuminate\Support\Facades\Password;
  class AdminForgotPasswordController 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;
  
  
      public function __construct(){
          $this-&gt;middleware('guest:admin');
      }
  
  
       /**
       * Display the form to request a password reset link.
       *
       * @return \Illuminate\Http\Response
       */
      public function showLinkRequestForm()
      {
          return view('auth.passwords.admin-email');
      }
  
          /**
       * Get the broker to be used during password reset.
       *
       * @return \Illuminate\Contracts\Auth\PasswordBroker
       */
      public function broker()
      {
  
          return Password::broker('admins');
  
      }
  
  
  }
  </code></pre>
  
  <p>problem is that i am making multiauth miniproject i code everything correct at user side and admin side...at user side is working well reset password notification is working well but when i go on admin panel and click on forgot password it shows me form to put email ,i put email and send reset link then this error appears what is problem anyone can know about that will be thankful.</p>