mirror of
https://github.com/hanzoai/iam.git
synced 2026-11-19 18:37:16 +00:00
The last-sign-in check counts the typed passkeys the WebAuthn sign-in verifies against, never the legacy raw rows no sign-in reads. factor.Save reads the row under its lock in the transaction that writes it, so two sign-ins cannot spend one recovery code and a profile write in flight is not reverted.