middleware('teacher.guest'); } public function showResetForm(Request $request, $token = null) { return view('auth_supervisor.passwords.reset_new')->with( ['token' => $token, 'email' => $request->email] ); } public function broker() { return Password::broker('users'); } /** * Get the guard to be used during password reset. * * @return \Illuminate\Contracts\Auth\StatefulGuard */ protected function guard() { return Auth::guard('teacher'); } }