When I use DB::enableQueryLog(), I noticed that it only check for email only, not username as well. I've created custom model that extend Cartalyst\Sentinel\User\EloquentUser and insert this code protected $loginNames = ['email', 'username']; But it's not working. I've tried from [this link](https://github.com/cartalyst/sentinel/issues/554#issuecomment-805941671
Your Environment
Expected behaviour
Login with username or email
Actual behaviour
When I use DB::enableQueryLog(), I noticed that it only check for email only, not username as well. I've created custom model that extend
Cartalyst\Sentinel\User\EloquentUser
and insert this codeprotected $loginNames = ['email', 'username'];
But it's not working. I've tried from [this link](https://github.com/cartalyst/sentinel/issues/554#issuecomment-805941671