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:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user