Преглед изворни кода

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',