Просмотр исходного кода

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

Qiang Xue 11 лет назад
Родитель
Сommit
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',