This topic has 14 replies, 2 voices, and was last updated 6 years, 11 months ago ago by Rose Tyler
hello,
I received the below email from Google. I believe this is due to the Legenda code having in all pages the potential to activate a front-end username/password login area. Google is detecting that and seeing that my site doesn’t use https it is creating that warning to users. How can I remove the login code from all my site’s pages?
Nonsecure Collection of Passwords will trigger warnings in Chrome 56 for http://www.gopavers.com/
To: owner of http://www.gopavers.com/
Beginning in January 2017, Chrome (version 56 and later) will mark pages that collect passwords or credit card details as “Not Secure” unless the pages are served over HTTPS.
The following URLs include input fields for passwords or credit card details that will trigger the new Chrome warning. Review these examples to see where these warnings will appear, and so you can take action to help protect users’ data. The list is not exhaustive.
Hello,
You can check it with official WooCommerce theme – Storefront.
I’m sorry but this is not theme issue and it’s not related to our theme.
Regards,
Rose Tyler.
I don’t understand. Check what with Storefront? Do you know what I’m trying to explain? It seems every page of the legenda theme has code for a front-end login system. I’d like to know how to remove that code.
<div class="modal-body">
<form method="post" class="login">
<p class="form-row form-row-first">
<label for="username">Username or email <span class="required">*</span></label>
<input type="text" class="input-text" name="username" id="username" />
</p>
<p class="form-row form-row-last">
<label for="password">Password <span class="required">*</span></label>
<input class="input-text" type="password" name="password" id="password" />
</p>
<div class="clear"></div>
<p class="form-row">
<input type="hidden" id="_wpnonce" name="_wpnonce" value="3e7e9a9305" /><input type="hidden" name="_wp_http_referer" value="/pavers-prices/" /> <input type="submit" class="button filled active" name="login" value="Login" />
<a class="lost_password" href="http://www.gopavers.com/account/lost-password/">Lost Password?</a>
<a href="http://www.gopavers.com/account/" class="right">Create Account</a>
</p>
</form>
</div>
Hello,
Oh I see, please add this code in function.php file of your child theme:
remove_action('after_page_wrapper', 'etheme_login_form_modal');
Please read how to create the child https://www.8theme.com/demo/docs/legenda/index.html#!/child_theme
Regards,
Rose Tyler.
Thanks. I added that to my functions.php file of my child theme but for some reason I’m still seeing that login code.
Tim
Hello,
Could you please provide wp-admin and FTP access in Private Content so we could check it?
Regards,
Rose Tyler.
Sure. I’ve added the login credentials in the private message. This is for my staging site, but I’ve added the code you provided above to the functions.php file as well.
Hello,
Sorry, but we can’t connect to your FTP with provided credentials. Please check them and give us the correct ones. Thank you.
Regards,
Rose Tyler.
Sorry for my delayed response, I was traveling. Looks like in provided the incorrect SFTP password, I added the correct one in the private reply.
Hello,
We can’t connect via FTP getting the error:
Error: Connection timed out
Error: Failed to retrieve directory listing
Please check it.
Regards,
Rose Tyler.
So sorry, added new info in the Private Response. This should definitely work, just checked myself
Tim
Hello,
Fixed. Please check.
Regards,
Rose Tyler.
Thanks, yes I see it working. This is my staging and I need to apply it to my live site. Can you tell me hat you adjusted so I can do that myself?
Tim
Hello,
You’re welcome!
Please use this code in function.php file of child theme:
function etheme_login_form_modal(){
return;
}
Regards,
Rose Tyler.
You must be logged in to reply to this topic.Log in/Sign up