1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-26 09:54:35 +01:00
This commit is contained in:
Kyle Spearrin 2019-01-17 10:47:03 -05:00
parent 650fc6aa27
commit b2be44e372

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