/** * * @return Response * @throws Exception */ public function changeForgottenPassword() { try { $authService = new SoapClient(Config::get('wsdl.auth')); $authService->changeForgottenPassword(array("newPassword" => Input::get('password'), "code" => Input::get('code'))); return array('status' => 'true'); } catch (Exception $ex) { return array('status' => 'false'); } }