mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-30 18:41:08 +00:00
Code cleanup.
This commit is contained in:
@@ -17,22 +17,6 @@ class EloquentUserRepository implements UserRepositoryInterface
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $array
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function auth($array)
|
||||
{
|
||||
$user = \User::where('email', $array['email'])->first();
|
||||
if (!is_null($user)) {
|
||||
if (\Hash::check($array['password'], $user->password)) {
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $email
|
||||
*
|
||||
|
Reference in New Issue
Block a user