mirror of
https://github.com/bitwarden/browser.git
synced 2025-04-13 19:58:00 +02:00
parent
17e4b88258
commit
b55398d7ac
@ -14,8 +14,6 @@ export class LaunchGuardService implements CanActivate {
|
||||
constructor(private cryptoService: CryptoService, private userService: UserService, private router: Router) { }
|
||||
|
||||
async canActivate() {
|
||||
console.log('bg:');
|
||||
console.log(BrowserApi.getBackgroundPage());
|
||||
if (BrowserApi.getBackgroundPage() == null) {
|
||||
this.router.navigate(['private-mode']);
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user