renamed hasher class to hash and hash method to make.
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user