mirror of
https://github.com/bitwarden/browser
synced 2025-12-21 02:33:46 +00:00
[EC-598] feat: confirm new credentials
This commit is contained in:
@@ -8,7 +8,7 @@ export class Fido2Service implements Fido2ServiceAbstraction {
|
||||
constructor(private fido2UserInterfaceService: Fido2UserInterfaceService) {}
|
||||
|
||||
async createCredential(params: CredentialRegistrationParams): Promise<unknown> {
|
||||
await this.fido2UserInterfaceService.verifyPresence();
|
||||
await this.fido2UserInterfaceService.confirmNewCredential();
|
||||
// eslint-disable-next-line no-console
|
||||
console.log("Fido2Service.registerCredential", params);
|
||||
return "createCredential response";
|
||||
|
||||
Reference in New Issue
Block a user