1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 17:53:39 +00:00

lock with master pass on restart option on PIN lock

This commit is contained in:
Kyle Spearrin
2019-02-14 00:46:28 -05:00
parent a2064939d2
commit f28d7a1af6
7 changed files with 62 additions and 20 deletions

View File

@@ -42,7 +42,7 @@ export default class IdleBackground {
if (newState === 'locked') {
const lockOption = await this.storageService.get<number>(ConstantsService.lockOptionKey);
if (lockOption === -2) {
this.lockService.lock();
this.lockService.lock(true);
}
}
});