mirror of
https://github.com/casdoor/casdoor.git
synced 2025-09-06 18:10:29 +08:00
feat: add back support for non-discoverable credential WebAuthn login and display WebAuthn ID again (#3998)
This commit is contained in:
@@ -31,6 +31,7 @@ export function registerWebauthnCredential() {
|
||||
credentialCreationOptions.publicKey.excludeCredentials[i].id = webAuthnBufferDecode(credentialCreationOptions.publicKey.excludeCredentials[i].id);
|
||||
}
|
||||
}
|
||||
|
||||
return navigator.credentials.create({
|
||||
publicKey: credentialCreationOptions.publicKey,
|
||||
});
|
||||
|
Reference in New Issue
Block a user