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

Request::cookieValidationKey must be explicitly specified now.

Qiang Xue 11 лет назад
Родитель
Сommit
48d2ced997
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      config/web.php

+ 1 - 1
config/web.php

@@ -8,7 +8,7 @@ $config = [
     'bootstrap' => ['log'],
     'bootstrap' => ['log'],
     'components' => [
     'components' => [
         'request' => [
         'request' => [
-            // a secret key used to validate cookies. You may modify this key with your own one.
+            // !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
             'cookieValidationKey' => '',
             'cookieValidationKey' => '',
         ],
         ],
         'cache' => [
         'cache' => [