浏览代码

cleaned up the key so that it can be filled up with a random key automatically when installed.

Qiang Xue 11 年之前
父节点
当前提交
a6b38ddef6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      config/web.php

+ 1 - 1
config/web.php

@@ -9,7 +9,7 @@ $config = [
     'components' => [
         'request' => [
             // !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
-            'cookieValidationKey' => 'thisIsAKey',
+            'cookieValidationKey' => '',
         ],
         'cache' => [
             'class' => 'yii\caching\FileCache',