diff options
author | Michael Francis <edude03@gmail.com> | 2011-06-20 18:54:56 -0400 |
---|---|---|
committer | Michael Francis <edude03@gmail.com> | 2011-06-20 18:54:56 -0400 |
commit | 1f6b832a67f6e4b1865fbe1ec6ea9b0babf7ead5 (patch) | |
tree | 43d5ca007b62cc75df131bfcd7ebfd3dc5c5fdcd /config/bootstrap | |
parent | 6ce5cd79202821ad090c452e7f800eed5936d4ba (diff) | |
download | otakuhub-1f6b832a67f6e4b1865fbe1ec6ea9b0babf7ead5.tar.xz |
Fixed to use Lithium's new Password class
Diffstat (limited to 'config/bootstrap')
-rw-r--r-- | config/bootstrap/auth.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/bootstrap/auth.php b/config/bootstrap/auth.php index 11c963f..75a2b5a 100644 --- a/config/bootstrap/auth.php +++ b/config/bootstrap/auth.php @@ -7,6 +7,7 @@ use lithium\core\Libraries; use lithium\action\Dispatcher; use lithium\net\http\Router; use lithium\action\Response; +use lithium\security\Password; Session::config(array( @@ -37,7 +38,7 @@ Auth::config(array( //The password to query is the password from the request //hashed with the users stored salt - $data['password'] = String::hashPassword($data['password'], $salt->salt); + $data['password'] = Password::hash($data['password'], $salt->salt); } return $data; }) |