bitwarden-estensione-browser/bitwarden_license/bit-web/src/app/app.component.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
648 B
TypeScript
Raw Normal View History

2021-09-10 15:27:00 +02:00
import { Component } from "@angular/core";
import { AppComponent as BaseAppComponent } from "src/app/app.component";
2022-02-24 12:10:07 +01:00
import { DisablePersonalVaultExportPolicy } from "./policies/disable-personal-vault-export.component";
2021-09-10 15:27:00 +02:00
import { MaximumVaultTimeoutPolicy } from "./policies/maximum-vault-timeout.component";
@Component({
selector: "app-root",
templateUrl: "../../../../apps/web/src/app/app.component.html",
2021-09-10 15:27:00 +02:00
})
export class AppComponent extends BaseAppComponent {
ngOnInit() {
super.ngOnInit();
this.policyListService.addPolicies([
new MaximumVaultTimeoutPolicy(),
new DisablePersonalVaultExportPolicy(),
2021-09-10 15:27:00 +02:00
]);
}
}