Browse Source

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

pull/6926/head
Jason Ng 2 years ago committed by GitHub
parent
commit
5e9856fa03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      apps/web/src/app/reports/pages/inactive-two-factor-report.component.ts

5
apps/web/src/app/reports/pages/inactive-two-factor-report.component.ts

@ -47,13 +47,14 @@ export class InactiveTwoFactorReportComponent extends CipherReportComponent impl @@ -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;
}

Loading…
Cancel
Save