1
0
mirror of https://github.com/bitwarden/browser synced 2025-01-23 09:42:06 +01:00

Prevent reloading browser extension when using biometric (#230)

This commit is contained in:
Oscar Hinton 2020-12-16 22:07:15 +01:00 committed by GitHub
parent 697e755c0f
commit f9042408f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ export class SystemService implements SystemServiceAbstraction {
} }
startProcessReload(): void { startProcessReload(): void {
if (this.vaultTimeoutService.pinProtectedKey != null || this.reloadInterval != null) { if (this.vaultTimeoutService.pinProtectedKey != null || this.vaultTimeoutService.biometricLocked || this.reloadInterval != null) {
return; return;
} }
this.cancelProcessReload(); this.cancelProcessReload();