On a Laravel API with authentication using Laravel Sanctum in SPA mode after a database refresh the session is still valid.
After running php artisan migrate:fresh --seed the previously logged-in user is not disconnected and can request the API with 200 status code, a valid response body and the Set-Cookie in the response's headers.
Does anyone have ever encountered this issue before?