Commit d41eb358 by Alexander Makarov

Merge pull request #4662 from hwabbott/master

Fixed typo in comments for generatePasswordHash
parents f6b1ec9b 00aab7c3
...@@ -516,7 +516,7 @@ class Security extends Component ...@@ -516,7 +516,7 @@ class Security extends Component
* @throws Exception on bad password parameter or cost parameter * @throws Exception on bad password parameter or cost parameter
* @throws InvalidConfigException * @throws InvalidConfigException
* @return string The password hash string. When [[passwordHashStrategy]] is set to 'crypt', * @return string The password hash string. When [[passwordHashStrategy]] is set to 'crypt',
* the output is alwaus 60 ASCII characters, when set to 'password_hash' the output length * the output is always 60 ASCII characters, when set to 'password_hash' the output length
* might increase in future versions of PHP (http://php.net/manual/en/function.password-hash.php) * might increase in future versions of PHP (http://php.net/manual/en/function.password-hash.php)
* @see validatePassword() * @see validatePassword()
*/ */
......
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