Browse Source

updated doc.

tags/2.0.0-beta
Qiang Xue 11 years ago
parent
commit
c8c6882fc4
  1. 4
      framework/yii/captcha/CaptchaValidator.php

4
framework/yii/captcha/CaptchaValidator.php

@ -18,6 +18,10 @@ use yii\validators\Validator;
*
* 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>
* @since 2.0
*/

Loading…
Cancel
Save