fix: request empty prf options during registration to prevent typeerror on credentials container create

This commit is contained in:
2026-05-29 10:38:25 +02:00
parent b9e3ce4252
commit e0e93a5685
+1 -5
View File
@@ -84,11 +84,7 @@ export async function registerUser(username: string): Promise<RegistrationResult
if (!options.extensions) { if (!options.extensions) {
options.extensions = {} options.extensions = {}
} }
options.extensions.prf = { options.extensions.prf = {}
eval: {
first: PRF_SALT.buffer
}
}
// 2. Start biometric Passkey creation // 2. Start biometric Passkey creation
const credentialResponse = await startRegistration({ optionsJSON: options }) const credentialResponse = await startRegistration({ optionsJSON: options })