mirror of
https://github.com/bitwarden/browser
synced 2025-01-29 20:50:58 +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');
|
].join('\n\n');
|
||||||
|
|
||||||
if (
|
if (
|
||||||
// At least one of the `savedURLs` uses SSL
|
// At least one of the `savedURLs` uses SSL for the current page
|
||||||
savedURLs.some(url => url.startsWith('https://')) &&
|
savedURLs.some(url => url.startsWith(`https://${window.location.hostname}`)) &&
|
||||||
// The current page is not using SSL
|
// The current page is not using SSL
|
||||||
document.location.protocol === 'http:' &&
|
document.location.protocol === 'http:' &&
|
||||||
// There are password inputs on the page
|
// There are password inputs on the page
|
||||||
|
Loading…
x
Reference in New Issue
Block a user