mirror of
https://github.com/bitwarden/browser
synced 2025-01-21 08:47:52 +01:00
4869a231bf
* Wip * Fix bitwarden licensed web * Fix template paths * Cleanup gitattributes git-blame-ignore-revs * Fix tsconfig, add postcss and tailwind config to bitwarden_license. * And done
22 lines
648 B
TypeScript
22 lines
648 B
TypeScript
import { Component } from "@angular/core";
|
|
|
|
import { AppComponent as BaseAppComponent } from "src/app/app.component";
|
|
|
|
import { DisablePersonalVaultExportPolicy } from "./policies/disable-personal-vault-export.component";
|
|
import { MaximumVaultTimeoutPolicy } from "./policies/maximum-vault-timeout.component";
|
|
|
|
@Component({
|
|
selector: "app-root",
|
|
templateUrl: "../../../../apps/web/src/app/app.component.html",
|
|
})
|
|
export class AppComponent extends BaseAppComponent {
|
|
ngOnInit() {
|
|
super.ngOnInit();
|
|
|
|
this.policyListService.addPolicies([
|
|
new MaximumVaultTimeoutPolicy(),
|
|
new DisablePersonalVaultExportPolicy(),
|
|
]);
|
|
}
|
|
}
|