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