yii2.0 报错Cookievalidationkey Must Be Configured With A Secret Key
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了yii2.0 报错Cookievalidationkey Must Be Configured With A Secret Key相关的知识,希望对你有一定的参考价值。
‘components‘ => [
‘request‘ => [
// !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
‘cookieValidationKey‘ => ‘test‘, //这里配置秘钥字符串就不会报错了
]
]
以上是关于yii2.0 报错Cookievalidationkey Must Be Configured With A Secret Key的主要内容,如果未能解决你的问题,请参考以下文章