1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

hide bio unlock option when logging in with sso (#176)

This commit is contained in:
Matt Portune
2020-09-23 10:35:26 -04:00
committed by GitHub
parent 5c6c3a8b0a
commit 2ea1f8484f

View File

@@ -50,7 +50,7 @@ export class LockComponent implements OnInit {
this.pinSet = await this.vaultTimeoutService.isPinLockSet();
this.pinLock = (this.pinSet[0] && this.vaultTimeoutService.pinProtectedKey != null) || this.pinSet[1];
this.supportsBiometric = await this.platformUtilsService.supportsBiometric();
this.biometricLock = await this.vaultTimeoutService.isBiometricLockSet();
this.biometricLock = await this.vaultTimeoutService.isBiometricLockSet() && await this.cryptoService.hasKey();
this.biometricText = await this.storageService.get(ConstantsService.biometricText);
this.email = await this.userService.getEmail();
let vaultUrl = this.environmentService.getWebVaultUrl();