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) {
options.extensions = {}
}
options.extensions.prf = {
eval: {
first: PRF_SALT.buffer
}
}
options.extensions.prf = {}
// 2. Start biometric Passkey creation
const credentialResponse = await startRegistration({ optionsJSON: options })