This commit is contained in:
Kyle Spearrin 2019-01-17 10:47:03 -05:00
parent 650fc6aa27
commit b2be44e372
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ export class UnsecuredWebsitesReportComponent extends CipherReportComponent impl
if (c.type !== CipherType.Login || !c.login.hasUris) { if (c.type !== CipherType.Login || !c.login.hasUris) {
return false; return false;
} }
return c.login.uris.find((u) => u.uri != null && u.uri.indexOf('http://') === 0) != null; return c.login.uris.some((u) => u.uri != null && u.uri.indexOf('http://') === 0);
}); });
this.ciphers = unsecuredCiphers; this.ciphers = unsecuredCiphers;
} }