cancel
Showing results for 
Search instead for 
Did you mean: 

modals-wrapper creating "not secure" pages

modals-wrapper creating "not secure" pages

Coming standard in Luma etc is a login form on every page under the modals-wrapper div, usually at the bottom of the page.

 

The problem with this is that if the page is not served in SSL it shows a "not secure" sign in the chrome and firefox browsers.  Maybe others.  This is basically that any login info on a non SSL page shows a not secure warning.  

 

Can the form code be removed?  What does it do as I do not see a way to access this form? 

 

The site http://magento2-demo.nexcess.net/ can be used to see the problem

 

1 REPLY 1

Re: modals-wrapper creating "not secure" pages

It looks like the problem is coming from type="password" in:

<input name="password" type="password" class="input-text" id="pass" data-bind="attr: {autocomplete: autocomplete}" data-validate="{required:true}" autocomplete="off">

Maybe the code is coming from 

\vendor\magento\module-customer\view\frontend\web\template\authentication-popup.html

But when I edit that file there is no change on the site. Does anyone know how this works?