jamess Posted November 8, 2012 Share Posted November 8, 2012 Hi there, Does anyone know how to make the email check on the login case insensitive? In testing, I immediately came upon cases where people will type all caps, all lowercase, title case, etc, sometimes causing a failure because PrestaShop is looking for an exact match. For example: [email protected] fails for [email protected] Thanks for any advice. James Link to comment Share on other sites More sharing options...
Dh42 Posted November 8, 2012 Share Posted November 8, 2012 There are two ways that you can handle this. You can either look for the section of code that processes the forms and use a php function to convert the string to lowercase. Or you can add the css text-transform:lowercase to you email input box on your form. 1 Link to comment Share on other sites More sharing options...
jamess Posted November 9, 2012 Author Share Posted November 9, 2012 Thanks. I changed the code and that took care of it quickly. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now