ajax.php
changeset 555 ac4c6a7f01d8
parent 550 685e839d934e
child 592 27377179fe58
equal deleted inserted replaced
554:e87390b1f9b0 555:ac4c6a7f01d8
   333           echo enano_json_encode($return);
   333           echo enano_json_encode($return);
   334           break;
   334           break;
   335         }
   335         }
   336         
   336         
   337         // Verify captcha, if needed
   337         // Verify captcha, if needed
   338         if ( !$session->user_logged_in && getConfig('guest_edit_require_captcha') == '1' )
   338         if ( false && !$session->user_logged_in && getConfig('guest_edit_require_captcha') == '1' )
   339         {
   339         {
   340           if ( !isset($request['captcha_id']) || !isset($request['captcha_code']) )
   340           if ( !isset($request['captcha_id']) || !isset($request['captcha_code']) )
   341           {
   341           {
   342             die('Invalid request, need captcha metadata');
   342             die('Invalid request, need captcha metadata');
   343           }
   343           }