diff options
author | Michael Francis <edude03@gmail.com> | 2011-06-21 09:37:04 -0400 |
---|---|---|
committer | Michael Francis <edude03@gmail.com> | 2011-06-21 09:37:04 -0400 |
commit | e3b0b874bbcd46cc047054b553658bbcac7c7177 (patch) | |
tree | 396a1b7500edc70beecb4d51a0b1c79da4a34f1c /models/User.php | |
parent | 21dced379bed5a41d214e51909e4af6f9aace245 (diff) | |
download | otakuhub-e3b0b874bbcd46cc047054b553658bbcac7c7177.tar.xz |
Password fix
Diffstat (limited to 'models/User.php')
-rw-r--r-- | models/User.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |