1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-29 12:55:21 +01:00

AC-1694 update inactive 2fa reports, remove can edit except pw ciphers (#6907)

This commit is contained in:
Jason Ng 2023-11-20 15:02:14 -05:00 committed by GitHub
parent b988429822
commit 5e9856fa03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,13 +47,14 @@ export class InactiveTwoFactorReportComponent extends CipherReportComponent impl
const docs = new Map<string, string>();
allCiphers.forEach((ciph) => {
const { type, login, isDeleted, edit, id } = ciph;
const { type, login, isDeleted, edit, id, viewPassword } = ciph;
if (
type !== CipherType.Login ||
(login.totp != null && login.totp !== "") ||
!login.hasUris ||
isDeleted ||
(!this.organization && !edit)
(!this.organization && !edit) ||
!viewPassword
) {
return;
}