mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-20 23:13:35 +00:00
The passkey login routes sat behind validateEmailLogin, and the client hid the passkey button unless email login was enabled, so a deployment with ALLOW_PASSKEY_LOGIN=true and ALLOW_EMAIL_LOGIN=false advertised a sign-in method it rejected. Gate the routes on the passkey limiter, same-origin and ban checks only, and render the button on passkey enablement alone. |
||
|---|---|---|
| .. | ||
| deployed | ||
| mock | ||
| real | ||
| a11y.spec.ts | ||
| keys.spec.ts | ||
| landing.spec.ts | ||
| messages.spec.ts | ||
| nav.spec.ts | ||
| popup.spec.ts | ||
| settings.spec.ts | ||