mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-25 12:15:18 +01:00
AC-1694 update inactive 2fa reports, remove can edit except pw ciphers (#6907)
This commit is contained in:
parent
b988429822
commit
5e9856fa03
@ -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…
Reference in New Issue
Block a user