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
|
|
|
|
2021-09-15 21:05:02 +02: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",
|
2022-06-02 17:59:43 +02:00
|
|
|
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(),
|
2021-09-15 21:05:02 +02:00
|
|
|
new DisablePersonalVaultExportPolicy(),
|
2021-09-10 15:27:00 +02:00
|
|
|
]);
|
|
|
|
}
|
|
|
|
}
|