diff --git a/src/popup/accounts/lock.component.html b/src/popup/accounts/lock.component.html
index e909d91e219..773cc20d493 100644
--- a/src/popup/accounts/lock.component.html
+++ b/src/popup/accounts/lock.component.html
@@ -36,6 +36,11 @@
{{'loggedInAsOn' | i18n : email : webVaultHostname}}
+
+
+
{{'logOut' | i18n}}
diff --git a/src/popup/accounts/lock.component.ts b/src/popup/accounts/lock.component.ts
index ed7bc001089..f7c6729219f 100644
--- a/src/popup/accounts/lock.component.ts
+++ b/src/popup/accounts/lock.component.ts
@@ -13,6 +13,7 @@ import { UserService } from 'jslib/abstractions/user.service';
import { VaultTimeoutService } from 'jslib/abstractions/vaultTimeout.service';
import { LockComponent as BaseLockComponent } from 'jslib/angular/components/lock.component';
+import Swal from 'sweetalert2';
@Component({
selector: 'app-lock',
@@ -36,4 +37,26 @@ export class LockComponent extends BaseLockComponent {
document.getElementById(this.pinLock ? 'pin' : 'masterPassword').focus();
}, 100);
}
+
+ async unlockBiometric() {
+ if (!this.biometricLock) {
+ return;
+ }
+
+ const div = document.createElement('div');
+ div.innerHTML = `${this.i18nService.t('awaitDesktop')}
`;
+
+ const submitted = Swal.fire({
+ heightAuto: false,
+ buttonsStyling: false,
+ html: div,
+ showCancelButton: true,
+ cancelButtonText: this.i18nService.t('cancel'),
+ showConfirmButton: false,
+ });
+
+ await super.unlockBiometric();
+
+ Swal.close();
+ }
}