mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
Fixes issue #49: finished CAPTCHA feature.
This commit is contained in:
@ -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()
|
||||
{
|
||||
|
Reference in New Issue
Block a user