middleware('guest:contact'); } /** * Display the password reset view for the given token. * * If no token is present, display the link request form. * * @param Request $request * @param string|null $token * @return Factory|View */ public function showResetForm(Request $request, $token = null) { $account_id = $request->get('account_id'); $account = Account::find($account_id); return $this->render('auth.passwords.reset')->with( ['token' => $token, 'email' => $request->email, 'account' => $account] ); } protected function guard() { return Auth::guard('contact'); } public function broker() { return Password::broker('contacts'); } }