Permalink
Browse files

Deprecated AuthComponent::password()

  • Loading branch information...
1 parent 56fa0dc commit 00f972f033e5174843f94817dc660844a96f97ec @ADmad ADmad committed May 26, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Controller/Component/AuthComponent.php
@@ -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);

0 comments on commit 00f972f

Please sign in to comment.