mirror of
https://github.com/bitwarden/browser
synced 2026-01-21 11:53:34 +00:00
Move web to apps/web and bitwarden_license/bit-web
This commit is contained in:
17
apps/web/src/app/settings/security.component.ts
Normal file
17
apps/web/src/app/settings/security.component.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import { Component } from "@angular/core";
|
||||
|
||||
import { KeyConnectorService } from "jslib-common/abstractions/keyConnector.service";
|
||||
|
||||
@Component({
|
||||
selector: "app-security",
|
||||
templateUrl: "security.component.html",
|
||||
})
|
||||
export class SecurityComponent {
|
||||
showChangePassword = true;
|
||||
|
||||
constructor(private keyConnectorService: KeyConnectorService) {}
|
||||
|
||||
async ngOnInit() {
|
||||
this.showChangePassword = !(await this.keyConnectorService.getUsesKeyConnector());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user