Przeglądaj źródła

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

Qiang Xue 11 lat temu
rodzic
commit
a6b38ddef6
1 zmienionych plików z 1 dodań i 1 usunięć
  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',