|
|
@ -18,6 +18,10 @@ use yii\validators\Validator; |
|
|
|
* |
|
|
|
* |
|
|
|
* CaptchaValidator should be used together with [[CaptchaAction]]. |
|
|
|
* CaptchaValidator should be used together with [[CaptchaAction]]. |
|
|
|
* |
|
|
|
* |
|
|
|
|
|
|
|
* Note that once CAPTCHA validation succeeds, a new CAPTCHA will be generated automatically. As a result, |
|
|
|
|
|
|
|
* CAPTCHA validation should not be used in AJAX validation mode because it may fail the validation |
|
|
|
|
|
|
|
* even if a user enters the same code as shown in the CAPTCHA image which is actually different from the latest CAPTCHA code. |
|
|
|
|
|
|
|
* |
|
|
|
* @author Qiang Xue <qiang.xue@gmail.com> |
|
|
|
* @author Qiang Xue <qiang.xue@gmail.com> |
|
|
|
* @since 2.0 |
|
|
|
* @since 2.0 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|