From e543c5fdd0fd496d60c472dc597ac348b2eff90b Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Sat, 15 Jun 2013 15:59:57 -0400 Subject: [PATCH] Fixed test break. --- framework/yii/web/Request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/yii/web/Request.php b/framework/yii/web/Request.php index 3a16f9e..1027011 100644 --- a/framework/yii/web/Request.php +++ b/framework/yii/web/Request.php @@ -27,7 +27,7 @@ class Request extends \yii\base\Request * You may use [[\yii\web\Html::beginForm()]] to generate his hidden input. * @see http://en.wikipedia.org/wiki/Cross-site_request_forgery */ - public $enableCsrfValidation = true; + public $enableCsrfValidation = false; /** * @var string the name of the token used to prevent CSRF. Defaults to 'YII_CSRF_TOKEN'. * This property is effectively only when {@link enableCsrfValidation} is true.