yii

yii

18-10-4 22:30:16

Invalid Configuration – yii\base\InvalidConfigException

yii\web\Request::cookieValidationKey must be configured with a secret key.

未配置cookieValidationKey。

该设置位于config下的web.php,自己随便设置一段字符串就好了。例如

'cookieValidationKey' => 'asd123',