From 1f6b832a67f6e4b1865fbe1ec6ea9b0babf7ead5 Mon Sep 17 00:00:00 2001 From: Michael Francis Date: Mon, 20 Jun 2011 18:54:56 -0400 Subject: Fixed to use Lithium's new Password class --- config/bootstrap/auth.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config') 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; }) -- cgit v1.2.3