mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 09:13:33 +00:00
[PS-1646] Resolve biometrics auto prompt not working (#3815)
This commit is contained in:
@@ -65,13 +65,15 @@ export class LockComponent extends BaseLockComponent {
|
|||||||
|
|
||||||
// eslint-disable-next-line rxjs-angular/prefer-takeuntil
|
// eslint-disable-next-line rxjs-angular/prefer-takeuntil
|
||||||
this.route.queryParams.subscribe((params) => {
|
this.route.queryParams.subscribe((params) => {
|
||||||
if (this.supportsBiometric && params.promptBiometric && autoPromptBiometric) {
|
setTimeout(async () => {
|
||||||
setTimeout(async () => {
|
if (!params.promptBiometric || !this.supportsBiometric || !autoPromptBiometric) {
|
||||||
if (await ipcRenderer.invoke("windowVisible")) {
|
return;
|
||||||
this.unlockBiometric();
|
}
|
||||||
}
|
|
||||||
}, 1000);
|
if (await ipcRenderer.invoke("windowVisible")) {
|
||||||
}
|
this.unlockBiometric();
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
});
|
});
|
||||||
this.broadcasterService.subscribe(BroadcasterSubscriptionId, async (message: any) => {
|
this.broadcasterService.subscribe(BroadcasterSubscriptionId, async (message: any) => {
|
||||||
this.ngZone.run(() => {
|
this.ngZone.run(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user