mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-17 05:20:55 +00:00
verifyPasskeyAuthentication discarded credentialBackedUp, and recordPasskeyUse updated only the counter and lastUsedAt, so the stored backedUp flag kept its registration-time value and the Synced badge in account settings could go stale after an authenticator started or stopped syncing. Return the flag from the verification helper and persist it in the same compare-and-swap update that advances the counter, so a replayed assertion cannot flip it. |
||
|---|---|---|
| .. | ||
| openapi | ||
| src | ||
| types | ||
| .gitignore | ||
| babel.config.cjs | ||
| jest.config.mjs | ||
| jest.setup.cjs | ||
| package.json | ||
| tsconfig-paths-bootstrap.mjs | ||
| tsconfig.build.json | ||
| tsconfig.json | ||
| tsconfig.openapi.json | ||
| tsconfig.spec.json | ||
| tsdown.config.mjs | ||