1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-01 16:13:27 +00:00
Files
browser/apps/web/src/app/auth/settings/security/security.component.ts
Alec Rippberger f99a3c4162 feat(web): [PM-1214] add device management screen
Adds a device management tab under settings -> security that allows users to:
- View and manage their account's connected devices
- Remove/deactivate devices
- See device details like platform, last login, and trust status
- Sort and filter device list with virtual scrolling

Resolves PM-1214
2025-01-07 13:29:36 -06:00

22 lines
690 B
TypeScript

import { Component, OnInit } from "@angular/core";
import { UserVerificationService } from "@bitwarden/common/auth/abstractions/user-verification/user-verification.service.abstraction";
import { ConfigService } from "@bitwarden/common/platform/abstractions/config/config.service";
@Component({
selector: "app-security",
templateUrl: "security.component.html",
})
export class SecurityComponent implements OnInit {
showChangePassword = true;
constructor(
private userVerificationService: UserVerificationService,
private configService: ConfigService,
) {}
async ngOnInit() {
this.showChangePassword = await this.userVerificationService.hasMasterPassword();
}
}