mirror of
https://github.com/fosrl/pangolin.git
synced 2026-01-28 22:00:51 +00:00
cleanup
This commit is contained in:
@@ -207,7 +207,6 @@ export async function startRegistration(
|
||||
|
||||
const excludeCredentials = existingSecurityKeys.map(key => ({
|
||||
id: key.credentialId,
|
||||
type: "public-key" as const,
|
||||
transports: key.transports ? JSON.parse(key.transports) as AuthenticatorTransportFuture[] : undefined
|
||||
}));
|
||||
|
||||
@@ -536,7 +535,6 @@ export async function startAuthentication(
|
||||
|
||||
allowCredentials = userSecurityKeys.map(key => ({
|
||||
id: key.credentialId,
|
||||
type: 'public-key' as const,
|
||||
transports: key.transports ? JSON.parse(key.transports) as AuthenticatorTransportFuture[] : undefined
|
||||
}));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user