middleware('guest'); } /** * Get the response for a successful password reset. * * @param \Illuminate\Http\Request $request * @param string $response * @return \Illuminate\Http\RedirectResponse */ protected function sendResetResponse(Request $request, $response) { return ['status' => trans($response)]; } /** * Get the response for a failed password reset. * * @param \Illuminate\Http\Request $request * @param string $response * @return \Illuminate\Http\RedirectResponse */ protected function sendResetFailedResponse(Request $request, $response) { return response()->json(['resetFailed' => trans($response)], 400); } }