mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-06 23:51:28 +01:00
hide bio unlock option when logging in with sso (#176)
This commit is contained in:
parent
5c6c3a8b0a
commit
2ea1f8484f
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user