mirror of
https://github.com/rommapp/romm.git
synced 2026-11-30 02:22:44 +01:00
Revoking only before the write left a wider hole than the one it closed: the old password stays good until the write commits, so a login starting in that window authenticates and writes a session unconditionally, having no existing id for the `XX` guard to refuse. Revoking only after the write cannot abort a change Redis was unreachable for. Doing both keeps each property. What remains is a login that read the old hash before the first pass and writes after the second, which needs the per-user revocation generation rather than an ordering change. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NouZquWDxNBqxYyu2E2GF8