Re: [HACK] Customers copy/pasting passwords
Posted: Thu Nov 15, 2012 8:55 pm
Small update to this that deals with customers who have somehow included spaces before their email address..
Open: /includes/classes/class.customer.php
Find:
Replace with:
This helps deal with a common issue I get with customers who seem to have auto-form-filling utilities for some reason..
Open: /includes/classes/class.customer.php
Find:
Code: Select all
$email = $GLOBALS['ISC_CLASS_DB']->Quote($_POST['login_email']);
Code: Select all
$email = $GLOBALS['ISC_CLASS_DB']->Quote(trim($_POST['login_email']));
This helps deal with a common issue I get with customers who seem to have auto-form-filling utilities for some reason..