H1K0 4645107ea1 fix(backend): make access tokens revocable via session validation
The auth middleware trusted any unexpired, well-signed access token, so
logout, session termination and admin blocks had no effect until the
15-minute token expired. The middleware now validates that the token's
session is still active on every request (SessionRepo.GetByID), and
blocking a user deactivates all of their sessions, immediately revoking
their outstanding access tokens.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 14:09:25 +03:00
S
Description
🎋Tanabata — web file manager with tags!
5.6 MiB
Languages
Go 50%
Svelte 38.6%
TypeScript 8.8%
PLpgSQL 1.4%
Dockerfile 0.5%
Other 0.7%