1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

redirect to lock screen on locked event

This commit is contained in:
Kyle Spearrin
2019-03-19 15:45:39 -04:00
parent eb07b1b080
commit 7a161fa028
4 changed files with 5 additions and 3 deletions

View File

@@ -101,6 +101,9 @@ export class AppComponent implements OnInit {
});
} else if (msg.command === 'locked') {
this.stateService.purge();
this.ngZone.run(() => {
this.router.navigate(['lock']);
});
} else if (msg.command === 'showDialog') {
await this.showDialog(msg);
} else if (msg.command === 'showToast') {