laravel/laravel — pull request #919 by JeffreyWay (2012-07-08 13:33:59+00:00)
Title: Extend Auth::attempt

With these changes, when attempting to login a user, in addition to ensuring that the username and password match, we can also provide additional params to be verified, like this:

```php
$creds = [
'username'	=> Input::get('email'),
'password' => Input::get('password'),
'enabled'	=> 1
];

it
```