Now I'm using something like that for authenticating the user on my base site:
if (Auth::attempt($request->only(['id', 'password']))) {
//
}
How can I modify this code for using custom column as username? https://laravel.com/docs/5.3/passport#password-grant-tokens