mirror of
https://github.com/bitwarden/browser
synced 2026-02-02 01:33:22 +00:00
Try syncing after makeCredential on Windows
This commit is contained in:
@@ -223,6 +223,19 @@ export class DesktopAutofillService implements OnDestroy {
|
||||
this.logService.error("listenPasskeyRegistration error", error);
|
||||
callback(error, null);
|
||||
}
|
||||
|
||||
if (process.platform === "win32") {
|
||||
// Windows does not prompt us to sync, so we need to sync immediately
|
||||
// after creating the credential so it shows up in the Windows Hello
|
||||
// credentials list.
|
||||
try {
|
||||
this.logService.info("Initiated FIDO2 sync after makeCredential")
|
||||
this.adHocSync();
|
||||
}
|
||||
catch (error) {
|
||||
this.logService.error("Failed to sync credentials after makeCredential", error);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
ipc.autofill.listenPasskeyAssertionWithoutUserInterface(
|
||||
|
||||
Reference in New Issue
Block a user