jamesmills / laravel-timezone

Enable user Timezones in your application.
MIT License
677 stars 91 forks source link

Fix for Laravel Passport 'loginUsingId does not exist' error #84

Open cedlinx opened 2 years ago

cedlinx commented 2 years ago

It is important to note the addition of: use App\Models\User in the modified file... This may not be compatible with earlier versions of Laravel. Is there a way to conditionally use App\Models\User OR App\User depending on the version?