1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-22 16:29:09 +01:00

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

View File

@ -67,7 +67,10 @@ export class InactiveTwoFactorReportComponent extends CipherReportComponent impl
if (this.services.get(domain) != null) { if (this.services.get(domain) != null) {
docs.set(id, this.services.get(domain)); 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); inactive2faCiphers.push(ciph);
return;
} }
} }
} }