From e3b0b874bbcd46cc047054b553658bbcac7c7177 Mon Sep 17 00:00:00 2001 From: Michael Francis Date: Tue, 21 Jun 2011 09:37:04 -0400 Subject: Password fix --- models/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models') diff --git a/models/User.php b/models/User.php index 82a1a9a..6ea5323 100644 --- a/models/User.php +++ b/models/User.php @@ -334,7 +334,7 @@ class User extends \lithium\data\Model { $salt = Password::salt('bf', 6); //Hash their password. - $data['password'] = String::hashPassword($entity->newpass, $salt); + $data['password'] = Password::hash($entity->newpass, $salt); $data['salt'] = $salt; unset($entity->newpass); } -- cgit v1.2.3