Unpushed changes left over

This commit is contained in:
Jack Mechem 2026-05-21 16:10:34 -07:00
parent a0487c0b59
commit 882ff7696a

View file

@ -58,6 +58,9 @@ export default function EnrollPage() {
requireResidentKey: false, requireResidentKey: false,
userVerification: "discouraged", userVerification: "discouraged",
}; };
// Explicitly request security-key flow so Chrome 116+ doesn't show
// the passkey dialog (which errors when an existing credential is present)
(opts as Record<string, unknown>).hints = ["security-key"];
if (opts.excludeCredentials) { if (opts.excludeCredentials) {
opts.excludeCredentials = opts.excludeCredentials.map( opts.excludeCredentials = opts.excludeCredentials.map(
(c: { id: string; type: string; transports?: string[] }) => ({ (c: { id: string; type: string; transports?: string[] }) => ({