diff options
Diffstat (limited to 'config/bootstrap/auth.php')
-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; }) |