Skip to content

Commit

Permalink
Deprecated AuthComponent::password()
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed May 26, 2013
1 parent 56fa0dc commit 00f972f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Controller/Component/AuthComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@ public function constructAuthenticate() {
*
* @param string $password Password to hash
* @return string Hashed password
* @link http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#hashing-passwords
* @deprecated Since 2.4. Use Security::hash() directly or a password hasher object.
*/
public static function password($password) {
return Security::hash($password, null, true);
Expand Down

0 comments on commit 00f972f

Please sign in to comment.