I'm using Laravel 7 with Sanctum authentication for my app.
How can i implement the logout procedure?
I use:
Auth::user()->tokens()->delete();
and it works, but It delete all tokens of this user. i would like to delete only the token of the user who requested the logout, in this way the other sessions should remain open