Files
sor/Server
10c0593120 Single-session login policy + fix deck editor card search
Auth (single-session policy):
- AuthGrpcHandler.Login now calls RevokeAllSessionsForUserAsync before
  CreateSessionAsync. When a user logs in on a new device, all existing
  sessions are revoked in Redis (token keys deleted) and marked RevokedAt
  in Postgres. The old device will fail auth.hello on its next reconnect
  and return to the login screen automatically.

Admin (PrebuiltDeckEditor):
- SearchCardsAsync and SearchArchSpiritsAsync were using .Contains() which
  compiles to a case-sensitive PostgreSQL LIKE. Changed to EF.Functions.ILike
  so card names can be found regardless of capitalisation.

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-02-28 21:52:36 -05:00
..