Show
Ignore:
Timestamp:
07/11/2008 01:30:46 PM (5 months ago)
Author:
Geert
Message:

Added a promote config setting for Captcha which basically means after how many valid responses you want to promote a user to human. As soon as a user has been promoted Captcha responses will automatically validate. The only thing you should add in your controller or view is a check that hides the Captcha field if the user has been promoted. I updated the examples controller as well.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/config/captcha.php

    r3046 r3080  
    1414 *  background - Path to background image file 
    1515 *  font       - Path to font file 
     16 *  promote    - Valid response count threshold to promote user (FALSE to disable) 
    1617 */ 
    1718$config['default'] = array 
     
    2324        'background' => '', 
    2425        'font'       => SYSPATH.'fonts/DejaVuSerif.ttf', 
     26        'promote'    => FALSE, 
    2527);