Add account version tags to cookies (#5563)
* feat: add user account version to session cookie Co-authored-by: Copilot <copilot@github.com> * feat: include user handle in account version hash calculation * feat: refactor recovery code generation to use a dedicated function * fix: don't overwrite current session version if updating another user Co-authored-by: Copilot <copilot@github.com> * fix: reset session version instead of nullifying the entire session * fix: short circuit and clear cookie on request invalidation Co-authored-by: Copilot <copilot@github.com> * fix: update account version on recovery --------- Co-authored-by: Copilot <copilot@github.com>
C
Cohee committed
c325c6d8e9d4c52974fe2f28700446cb1fbfa662
Parent: 91c4028
Committed by GitHub <noreply@github.com>
on 5/2/2026, 2:07:57 PM