mirror of
https://github.com/bitwarden/browser
synced 2025-01-14 03:19:54 +01:00
[PM-2762] Update Logic on HTTP Warning (#5730)
* [PM-2762] Update Logic on HTTP Warning * [PM-2762] Update apps/browser/src/autofill/content/autofill.js Co-authored-by: Jonathan Prusik <jprusik@users.noreply.github.com> --------- Co-authored-by: Jonathan Prusik <jprusik@users.noreply.github.com>
This commit is contained in:
parent
d42e87fbc6
commit
d26dc9c8ac
@ -751,8 +751,8 @@
|
||||
].join('\n\n');
|
||||
|
||||
if (
|
||||
// At least one of the `savedURLs` uses SSL
|
||||
savedURLs.some(url => url.startsWith('https://')) &&
|
||||
// At least one of the `savedURLs` uses SSL for the current page
|
||||
savedURLs.some(url => url.startsWith(`https://${window.location.hostname}`)) &&
|
||||
// The current page is not using SSL
|
||||
document.location.protocol === 'http:' &&
|
||||
// There are password inputs on the page
|
||||
|
Loading…
Reference in New Issue
Block a user