summaryrefslogtreecommitdiffstats
path: root/models/User.php
diff options
context:
space:
mode:
authorMichael Francis <edude03@gmail.com>2011-06-21 09:37:04 -0400
committerMichael Francis <edude03@gmail.com>2011-06-21 09:37:04 -0400
commite3b0b874bbcd46cc047054b553658bbcac7c7177 (patch)
tree396a1b7500edc70beecb4d51a0b1c79da4a34f1c /models/User.php
parent21dced379bed5a41d214e51909e4af6f9aace245 (diff)
downloadotakuhub-e3b0b874bbcd46cc047054b553658bbcac7c7177.tar.xz
Password fix
Diffstat (limited to 'models/User.php')
-rw-r--r--models/User.php2
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);
}