laravel / sanctum

Laravel Sanctum provides a featherweight authentication system for SPAs and simple APIs.
https://laravel.com/docs/sanctum
MIT License
2.75k stars 296 forks source link

fix load tokenable relation #532

Closed mohammadgh1370 closed 3 months ago

mohammadgh1370 commented 3 months ago

Fixes an issue with user authentication where the wrong user ID is returned.

Fixes #531

taylorotwell commented 3 months ago

No tests.