Clear session data before deleting key in logout endpoint

Otherkamo-internal
Shipped
November 26, 2025 at 9:42 PM UTC
Author
snadjafinia
Commit
a114986

- Set session data to empty JSON before deleting the key - Ensures session is unusable even if deletion fails or there's replication lag - Add error handling with fallback to clear data if delete fails - Improve logging to show whether session data was cleared

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing