Returning the loop checking a cipher's uris to prevent dupes (#7488)

This commit is contained in:
Tom 2024-01-11 10:17:51 -05:00 committed by GitHub
parent f8d72f0231
commit 7112f44375
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}
}
}