Fixes issue #49: finished CAPTCHA feature.

This commit is contained in:
Qiang Xue
2013-05-08 15:27:06 -04:00
parent c5bad9ea1b
commit 96fd37de2e
12 changed files with 556 additions and 6 deletions

View File

@ -21,6 +21,7 @@ use yii\helpers\Html;
*/
class CaptchaValidator extends Validator
{
public $skipOnEmpty = false;
/**
* @var boolean whether the comparison is case sensitive. Defaults to false.
*/
@ -70,7 +71,7 @@ class CaptchaValidator extends Validator
/**
* Returns the CAPTCHA action object.
* @throws InvalidConfigException
* @return CaptchaAction the action object
* @return \yii\web\CaptchaAction the action object
*/
public function getCaptchaAction()
{