1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23:44 +00:00

null check vaulttimeoutservice

This commit is contained in:
Kyle Spearrin
2020-08-04 09:17:25 -04:00
parent bc31867e1a
commit 14b01f2e5d

View File

@@ -325,7 +325,9 @@ export class AuthService implements AuthServiceAbstraction {
await this.cryptoService.setEncPrivateKey(tokenResponse.privateKey); await this.cryptoService.setEncPrivateKey(tokenResponse.privateKey);
} }
if (this.vaultTimeoutService != null) {
this.vaultTimeoutService.biometricLocked = false; this.vaultTimeoutService.biometricLocked = false;
}
this.messagingService.send('loggedIn'); this.messagingService.send('loggedIn');
return result; return result;
} }