validate([ 'email' => ['required', 'email'], ]); $status = Password::sendResetLink( $request->only('email') ); if ($status === Password::RESET_LINK_SENT) { return back()->with('status', __($status)); } return back()->withErrors(['email' => __($status)]); } }