From 5e9856fa03133f1d1502854191a65a9e02d5de91 Mon Sep 17 00:00:00 2001 From: Jason Ng Date: Mon, 20 Nov 2023 15:02:14 -0500 Subject: [PATCH] AC-1694 update inactive 2fa reports, remove can edit except pw ciphers (#6907) --- .../reports/pages/inactive-two-factor-report.component.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/web/src/app/reports/pages/inactive-two-factor-report.component.ts b/apps/web/src/app/reports/pages/inactive-two-factor-report.component.ts index 18d669ab54..b1ca1f654d 100644 --- a/apps/web/src/app/reports/pages/inactive-two-factor-report.component.ts +++ b/apps/web/src/app/reports/pages/inactive-two-factor-report.component.ts @@ -47,13 +47,14 @@ export class InactiveTwoFactorReportComponent extends CipherReportComponent impl const docs = new Map(); 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; }