From 31896c9be9da3f8dbe78bfea5007a435e586f72f Mon Sep 17 00:00:00 2001 From: Marvin <127591405+Lokowitz@users.noreply.github.com> Date: Mon, 22 Sep 2025 12:12:46 +0000 Subject: [PATCH] cleanup --- server/routers/auth/securityKey.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/routers/auth/securityKey.ts b/server/routers/auth/securityKey.ts index 8c9b02a5..ba357f51 100644 --- a/server/routers/auth/securityKey.ts +++ b/server/routers/auth/securityKey.ts @@ -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 })); }