Commit ae70708e by Alexander Makarov

Merge pull request #5887 from TriAnMan/doc-fix

Fix upgrade doc [skip ci]
parents d9bf92a3 17960584
......@@ -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:
......
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