app/maguttiCms/Website/Controllers/Auth/ResetPasswordController.php
/**
     * Get the response for a failed password reset.
     *
     * @param \Illuminate\Http\Request $request
     * @param string $response
     * @return \Illuminate\Http\RedirectResponse|\Illuminate\Http\JsonResponse
     */
Get the response for a failed password reset.
Get the response for a failed password reset .
protected function sendResetFailedResponse(Request $request, $response)
    {
        if ($response == 'passwords.user') {
            $response = "passwords.invalid";
        }
        return redirect()->back()
            ->withInput($request->only('email'))
            ->withErrors(['email' => trans($response)]);
    }
protected function sendResetFailedResponse ( Request $ request , $ response ) { if ( $ response == 'passwords.user' ) { $ response = " passwords.invalid " ; } return redirect ( ) -> back ( ) -> withInput ( $ request -> only ( 'email' ) ) -> withErrors ( [ 'email' => trans ( $ response ) ] ) ; }
Get the response for a failed password reset.
Get the response for a failed password reset .