NextJS delete currentUser from DB but still logged in

I delete the current logged in user and I am still able to navigate on my Nextjs app

How to delete session or clear cookies if my user is not my DB anymore ?

Leave a Comment