From 7112f443755bdb609d0aeac60a19b8d0dcde904e Mon Sep 17 00:00:00 2001 From: Tom <144813356+ttalty@users.noreply.github.com> Date: Thu, 11 Jan 2024 10:17:51 -0500 Subject: [PATCH] Returning the loop checking a cipher's uris to prevent dupes (#7488) --- .../reports/pages/inactive-two-factor-report.component.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/web/src/app/tools/reports/pages/inactive-two-factor-report.component.ts b/apps/web/src/app/tools/reports/pages/inactive-two-factor-report.component.ts index e009077866..15b79981b6 100644 --- a/apps/web/src/app/tools/reports/pages/inactive-two-factor-report.component.ts +++ b/apps/web/src/app/tools/reports/pages/inactive-two-factor-report.component.ts @@ -67,7 +67,10 @@ export class InactiveTwoFactorReportComponent extends CipherReportComponent impl if (this.services.get(domain) != null) { docs.set(id, this.services.get(domain)); } + // If the uri is in the 2fa list. Add the cipher to the inactive + // collection. No need to check any additional uris for the cipher. inactive2faCiphers.push(ciph); + return; } } }