mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-16 23:48:16 +08:00
Fixes issue #539: Yii2 Csrf protection broken
This commit is contained in:
@ -21,6 +21,9 @@ use yii\helpers\Html;
|
||||
*/
|
||||
class CaptchaValidator extends Validator
|
||||
{
|
||||
/**
|
||||
* @var boolean whether to skip this validator if the input is empty.
|
||||
*/
|
||||
public $skipOnEmpty = false;
|
||||
/**
|
||||
* @var boolean whether the comparison is case sensitive. Defaults to false.
|
||||
|
Reference in New Issue
Block a user