Unpushed changes left over
This commit is contained in:
parent
a0487c0b59
commit
882ff7696a
1 changed files with 3 additions and 0 deletions
|
|
@ -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[] }) => ({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue