Store memberType in Redis session at login

FeatureSecurityService
Shipped
April 16, 2026 at 2:05 AM UTC
Author
Kamo
Commit
2327c97

Adds CASE WHEN e.id IS NOT NULL THEN 'TEAM_MEMBER' ELSE 'MEMBER' END to the login SQL query and passes the result through createSession into Redis, so frontend can distinguish team members from regular members via session data.

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