Merge pull request #5887 from TriAnMan/doc-fix

Fix upgrade doc [skip ci]
This commit is contained in:
Alexander Makarov
2014-11-03 19:32:05 +03:00

View File

@@ -200,6 +200,7 @@ new ones save the following code as `convert.php` that should be placed in the s
* Static helper `yii\helpers\Security` has been converted into an application component. You should change all usage of
its methods to a new syntax, for example: instead of `yii\helpers\Security::hashData()` use `Yii::$app->getSecurity()->hashData()`.
The `generateRandomKey()` method now produces not an ASCII compatible output. Use `generateRandomString()` instead.
Default encryption and hash parameters has been upgraded. If you need to decrypt/validate data that was encrypted/hashed
before, use the following configuration of the 'security' component: