renamed hasher class to hash and hash method to make.

This commit is contained in:
Taylor Otwell
2011-11-07 23:32:32 -06:00
parent c4aa6e6ba2
commit d05f4fa0db
3 changed files with 6 additions and 6 deletions

View File

@@ -124,7 +124,7 @@ return array(
'Eloquent' => 'Laravel\\Database\\Eloquent\\Model',
'File' => 'Laravel\\File',
'Form' => 'Laravel\\Form',
'Hasher' => 'Laravel\\Security\\Hasher',
'Hasher' => 'Laravel\\Security\\Hash',
'HTML' => 'Laravel\\HTML',
'Inflector' => 'Laravel\\Inflector',
'Input' => 'Laravel\\Input',

View File

@@ -64,7 +64,7 @@ return array(
{
$user = User::where($config['username'], '=', $username)->first();
if ( ! is_null($user) and Hasher::check($password, $user->password))
if ( ! is_null($user) and Hash::check($password, $user->password))
{
return $user;
}