Fixed statement about Security:hash's salt parameter

Just nitpicking, but it prepends the salt, not appends it:
https://github.com/cakephp/cakephp/blob/master/lib/Cake/Utility/Security.php#L120
This commit is contained in:
Marc Würth 2013-08-12 12:52:34 +02:00
parent 1bdcc58e31
commit 7d4f229310

View file

@ -99,7 +99,7 @@ class Security {
* *
* @param string $string String to hash * @param string $string String to hash
* @param string $type Method to use (sha1/sha256/md5/blowfish) * @param string $type Method to use (sha1/sha256/md5/blowfish)
* @param mixed $salt If true, automatically appends the application's salt * @param mixed $salt If true, automatically prepends the application's salt
* value to $string (Security.salt). If you are using blowfish the salt * value to $string (Security.salt). If you are using blowfish the salt
* must be false or a previously generated salt. * must be false or a previously generated salt.
* @return string Hash * @return string Hash