1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01: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;
} }