Commit 8e1d63e4 by ItsReddi Committed by Alexander Makarov

Fixes #4893: Added note about `cookieValidationKey` and console application to UPGRADE

Added note to config change To get rid of confusions and errors. related to https://github.com/yiisoft/yii2/issues/4893
parent c8079ed2
......@@ -94,6 +94,10 @@ Upgrade from Yii 2.0 Beta
];
```
> Note: If you are using the `Advanced Application Template` you should not add this configuration to `common/config`
or `console/config` because the console application doesn't have to deal with CSRF and uses its own request that
doesn't have `cookieValidationKey` property.
* `yii\rbac\PhpManager` now stores data in three separate files instead of one. In order to convert old file to
new ones save the following code as `convert.php` that should be placed in the same directory your `rbac.php` is in:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment