src/stubs/ForgotPasswordController.php
protected function sendResetLinkResponse(Request $request, $response)
    {
        if ($request->expectsJson()) {
            return response()->json([
                'status' => trans($response)
            ]);
        }
        return back()->with('status', trans($response));
    }
protected function sendResetLinkResponse(Request $request, $response)
    {
        if ($request->expectsJson()) {
            return response()->json([
                'status' => trans($response)
            ]);
        }
        return back()->with('status', trans($response));
    }
protected function sendResetLinkResponse ( Request $ request , $ response ) { if ( $ request -> expectsJson ( ) ) { return response ( ) -> json ( [ 'status' => trans ( $ response ) ] ) ; } return back ( ) -> with ( 'status' , trans ( $ response ) ) ; }
Get the response for a successful password reset link.

@param  string  $response
@return mixed
Get the response for a successful password reset link .